mirror of
https://github.com/zuno/slackpkgplus
synced 2025-02-05 20:45:59 +01:00
fixed bug on file:.
This commit is contained in:
parent
1dd5dc128c
commit
40a365d8eb
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
VERSION=$(head -1 ChangeLog.txt|awk '{print $2}')
|
VERSION=$(head -1 ChangeLog.txt|awk '{print $2}')
|
||||||
BUILD=1mt
|
BUILD=${BUILD:-1mt}
|
||||||
|
|
||||||
CWD=`pwd`
|
CWD=`pwd`
|
||||||
TMP=${TMP:-/tmp}
|
TMP=${TMP:-/tmp}
|
||||||
|
|
|
@ -502,7 +502,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
||||||
( cd $localpath
|
( cd $localpath
|
||||||
ls -ld *.t[blxg]z|tac|grep ^-|awk '{print "./SLACKPKGPLUS_'$repository'/"$NF}'|awk -f /usr/libexec/slackpkg/pkglist.awk >> ${TMPDIR}/pkglist-pre
|
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}:.* )
|
PRIORITYLIST=( ${PRIORITYLIST[*]} SLACKPKGPLUS_${repository}:.* )
|
||||||
REPOPLUS=( ${repository} ${REPOPLUS[*]} )
|
REPOPLUS=( ${repository} ${REPOPLUS[*]} )
|
||||||
package=SLACKPKGPLUS_$repository
|
package=SLACKPKGPLUS_$repository
|
||||||
|
|
Loading…
Add table
Reference in a new issue