mirror of
https://github.com/zuno/slackpkgplus
synced 2025-01-13 20:01:04 +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
|
REPO=slackware
|
||||||
[ -e "${WORKDIR}/gpg/GPG-KEY-slackware64.gpg" ]&&REPO=slackware64
|
[ -e "${WORKDIR}/gpg/GPG-KEY-slackware64.gpg" ]&&REPO=slackware64
|
||||||
elif [ ${FILENAME:0:13} == "CHECKSUMS.md5" ];then
|
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
|
else
|
||||||
REPO=$(echo $1|sed -r -e "s,^$TEMP,/," -e "s,/\./,/,g" -e "s,//,/,g" -e "s,^/,," -e "s,/.*$,," -e "s,SLACKPKGPLUS_,,")
|
REPO=$(echo $1|sed -r -e "s,^$TEMP,/," -e "s,/\./,/,g" -e "s,//,/,g" -e "s,^/,," -e "s,/.*$,," -e "s,SLACKPKGPLUS_,,")
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue