feat: adding pkg by arch, some fixes

This commit is contained in:
2023-05-10 13:52:03 +02:00
parent 01454e6521
commit 114f053f09
3 changed files with 26 additions and 27 deletions

View File

@@ -2,21 +2,6 @@
REPODIR="$1"
. $REPODIR/apt-repo/config
#KEY="$2"
#echo $KEY
#if [ $KEY = "--repodir" ]; then
# KEY=""
#fi
#
#if [ $KEY ]; then
# continue
#elif [ $DEFAULT_GPG ]; then
# KEY="$DEFAULT_GPG"
#else
# echo "error: no gpg key provided"
# exit 1
#fi
if [ ! $DEFAULT_GPG ]; then
echo "error: no gpg key provided in config file"
exit 1