fix(main/termux-keyring): checking keys in pacman

This commit is contained in:
Ivan Max 2024-04-01 23:39:33 +03:00 committed by GitHub
parent a02a099a49
commit c9e4b83673
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="GPG public keys for the official Termux repositories"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=3.11
TERMUX_PKG_REVISION=1
TERMUX_PKG_AUTO_UPDATE=false
TERMUX_PKG_SKIP_SRC_EXTRACT=true
TERMUX_PKG_PLATFORM_INDEPENDENT=true
@ -44,7 +45,7 @@ termux_step_make_install() {
termux_step_create_debscripts() {
if [ "$TERMUX_PACKAGE_FORMAT" = "pacman" ]; then
echo "if [ ! -d $TERMUX_PREFIX/etc/pacman.d/ ]; then" > postupg
echo "if [ ! -d $TERMUX_PREFIX/etc/pacman.d/gnupg/ ]; then" > postupg
echo " pacman-key --init" >> postupg
echo "fi" >> postupg
echo "pacman-key --populate" >> postupg