fixed bug on file:.

This commit is contained in:
Matteo Rossini 2013-09-02 17:30:57 +02:00
parent 1dd5dc128c
commit 40a365d8eb
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
set -e
VERSION=$(head -1 ChangeLog.txt|awk '{print $2}')
BUILD=1mt
BUILD=${BUILD:-1mt}
CWD=`pwd`
TMP=${TMP:-/tmp}

View file

@ -502,7 +502,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
( cd $localpath
ls -ld *.t[blxg]z|tac|grep ^-|awk '{print "./SLACKPKGPLUS_'$repository'/"$NF}'|awk -f /usr/libexec/slackpkg/pkglist.awk >> ${TMPDIR}/pkglist-pre
)
MIRRORPLUS[$repository]="file:/$localpath"
MIRRORPLUS[$repository]="file:/$localpath/"
PRIORITYLIST=( ${PRIORITYLIST[*]} SLACKPKGPLUS_${repository}:.* )
REPOPLUS=( ${repository} ${REPOPLUS[*]} )
package=SLACKPKGPLUS_$repository