mirror of
https://github.com/zuno/slackpkgplus
synced 2024-12-27 09:58:34 +01:00
issue in GPG check when a repository contains the minus character.
This commit is contained in:
parent
4ac4c25009
commit
41311fa56f
1 changed files with 1 additions and 1 deletions
|
@ -632,7 +632,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
|||
REPO=slackware
|
||||
[ -e "${WORKDIR}/gpg/GPG-KEY-slackware64.gpg" ]&&REPO=slackware64
|
||||
elif [ ${FILENAME:0:13} == "CHECKSUMS.md5" ];then
|
||||
REPO=$(echo $FILENAME|cut -f2 -d-|sed 's/\.gz$//')
|
||||
REPO=$(echo $FILENAME|cut -f2- -d-|sed 's/\.gz$//')
|
||||
else
|
||||
REPO=$(echo $1|sed -r -e "s,^$TEMP,/," -e "s,/\./,/,g" -e "s,//,/,g" -e "s,^/,," -e "s,/.*$,," -e "s,SLACKPKGPLUS_,,")
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue