Version 1.4.1 - 16/Jun/2015

- Fix for repositories having CHECKSUMS.md5.gz.asc
This commit is contained in:
Matteo Rossini 2015-06-16 17:39:14 +02:00
parent ac3758c2de
commit 1bd7dd1bb1
3 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,6 @@
Version 1.4.1 - 16/Jun/2015
- Fix for repositories having CHECKSUMS.md5.gz.asc
Version 1.4.0 - 13/Dec/2014
- Now the official repositories (slackware64, extra, patches...) are treated
as thirdy party repositories, so you can add it in PKGS_PRIORITY

View file

@ -1,3 +1,6 @@
Version 1.4.1 - 16/Jun/2015
- Fix for repositories having CHECKSUMS.md5.gz.asc
Version 1.4.0 - 13/Dec/2014
- Now the official repositories (slackware64, extra, patches...) are treated
as thirdy party repositories, so you can add it in PKGS_PRIORITY

View file

@ -45,7 +45,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
SPKGPLUS_VERSION="1.4.0"
SPKGPLUS_VERSION="1.4.1"
VERSION="$VERSION / slackpkg+ $SPKGPLUS_VERSION"
@ -173,8 +173,8 @@ if [ "$SLACKPKGPLUS" = "on" ];then
if [ $? -ne 0 ];then
$DOWNLOADER ${TMPDIR}/CHECKSUMS.md5-$PREPO.gz.asc `echo $URLFILE|sed 's/\.asc$/.gz.asc/'`
if [ $? -eq 0 ];then
$DOWNLOADER ${TMPDIR}/CHECKSUMS.md5-$PREPO.gz $URLFILE.gz
if [ $(checkgpg ${TMPDIR}/CHECKSUMS.md5-$PREPO.gz) -eq 0 ];then
$DOWNLOADER ${TMPDIR}/CHECKSUMS.md5-$PREPO.gz `echo $URLFILE|sed 's/\.asc$/.gz/'`
if [ $(checkgpg ${TMPDIR}/CHECKSUMS.md5-$PREPO.gz) -eq 1 ];then
echo
echo " !!! N O T I C E !!!"
echo " Repository '$PREPO' does support signature checking for"
@ -184,6 +184,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
echo " 'slackpkg -checkgpg=off install packge'"
echo " The package authenticity remains guaranteed."
echo
zcat ${TMPDIR}/CHECKSUMS.md5-$PREPO.gz > ${TMPDIR}/CHECKSUMS.md5-$PREPO
sleep 5
continue
fi