mirror of
https://github.com/zuno/slackpkgplus
synced 2025-01-13 20:01:04 +01:00
Fixed an issue when a 'dir://' repository is empty
This commit is contained in:
parent
45d8928e96
commit
1bc0e22ae8
1 changed files with 1 additions and 1 deletions
|
@ -1423,7 +1423,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
|||
continue
|
||||
fi
|
||||
( cd $localpath
|
||||
ls -ld *.t[blxg]z|sort -rn|grep ^-|awk '{print "./SLACKPKGPLUS_'$PREPO'/"$NF}'|awk -f /usr/libexec/slackpkg/pkglist.awk >> ${TMPDIR}/pkglist-pre
|
||||
ls -ld *.t[blxg]z 2>/dev/null|sort -rn|grep ^-|awk '{print "./SLACKPKGPLUS_'$PREPO'/"$NF}'|awk -f /usr/libexec/slackpkg/pkglist.awk >> ${TMPDIR}/pkglist-pre
|
||||
)
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue