mirror of
https://github.com/zuno/slackpkgplus
synced 2024-12-26 09:58:43 +01:00
Fixed slackpkg info on sbo packages
This commit is contained in:
parent
694dae030b
commit
b17888c436
1 changed files with 25 additions and 13 deletions
|
@ -1545,6 +1545,17 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
||||||
cat $WORKDIR/pkglist|grep -E "^[^ ]* $NAME "|while read repository name version arch tag namepkg fullpath ext;do
|
cat $WORKDIR/pkglist|grep -E "^[^ ]* $NAME "|while read repository name version arch tag namepkg fullpath ext;do
|
||||||
echo "Package: $namepkg"
|
echo "Package: $namepkg"
|
||||||
echo "Repository: ${repository/SLACKPKGPLUS_/}"
|
echo "Repository: ${repository/SLACKPKGPLUS_/}"
|
||||||
|
if echo $repository|grep -q SBO_;then
|
||||||
|
fullpath=${fullpath/*$repository\//}
|
||||||
|
if [ "$repository" == "SBO_current" ];then
|
||||||
|
fullpath="plain/$fullpath/"
|
||||||
|
else
|
||||||
|
fullpath="$fullpath/"
|
||||||
|
fi
|
||||||
|
URLFILE=${SBO[${repository/SBO_}]%/}/$fullpath
|
||||||
|
echo "Path: ${fullpath}"
|
||||||
|
echo "Url: ${URLFILE}"
|
||||||
|
else
|
||||||
echo "Path: ${fullpath/\/SLACKPKGPLUS_${repository/SLACKPKGPLUS_/}/}/$namepkg.$ext"
|
echo "Path: ${fullpath/\/SLACKPKGPLUS_${repository/SLACKPKGPLUS_/}/}/$namepkg.$ext"
|
||||||
URLFILE=${SOURCE}${fullpath}/${namepkg}.${ext}
|
URLFILE=${SOURCE}${fullpath}/${namepkg}.${ext}
|
||||||
if echo $URLFILE|grep -q /SLACKPKGPLUS_;then
|
if echo $URLFILE|grep -q /SLACKPKGPLUS_;then
|
||||||
|
@ -1561,6 +1572,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
||||||
echo "$FILELIST"|sed "s/ /\n/g"|tail +2|sed 's/^/ /'
|
echo "$FILELIST"|sed "s/ /\n/g"|tail +2|sed 's/^/ /'
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
echo
|
echo
|
||||||
done
|
done
|
||||||
} # END function more_info()
|
} # END function more_info()
|
||||||
|
|
Loading…
Reference in a new issue