Small fix in search and in priority manager

This commit is contained in:
Matteo Rossini 2015-12-20 19:41:24 +01:00
parent ef1e7bacb5
commit 3098138f3f

View file

@ -613,7 +613,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
# First is the package already installed?
# Amazing what a little sleep will do
# exclusion is so much nicer :)
INSTPKG=$(ls -1 $ROOT/var/log/packages | grep -e "^${BASENAME}-[^-]\+-[^-]\+-[^-]\+")
INSTPKG=$(ls -1 $ROOT/var/log/packages | grep -e "^${BASENAME}-[^-]\+-[^-]\+-[^-]\+$")
#INSTPKG=$(ls -1 $ROOT/var/log/packages | grep -e "^${BASENAME}-[^-]\+-\(${ARCH}\|fw\|noarch\)-[^-]\+")
# INSTPKG is local version