diff options
author | Robby Workman <rworkman@slackware.com> | 2018-06-07 23:00:02 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackware.com> | 2018-06-07 23:00:02 -0500 |
commit | 10b2f7d493a7ded620cdc20ab582b25f58e45c62 (patch) | |
tree | 330234981c89a3ee20bd863155ed795344df2581 /files/dialog-functions.sh | |
parent | e1fc7d99876aaba621fb353d8c484756e20ad0e8 (diff) | |
download | slackpkg-10b2f7d493a7ded620cdc20ab582b25f58e45c62.tar.xz |
Fix for /var/log/packages/ possibly being a symlink to elsewhere
Diffstat (limited to 'files/dialog-functions.sh')
-rw-r--r-- | files/dialog-functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/dialog-functions.sh b/files/dialog-functions.sh index 042906c..a583a35 100644 --- a/files/dialog-functions.sh +++ b/files/dialog-functions.sh @@ -20,7 +20,7 @@ if [ "$DIALOG" = "on" ] || [ "$DIALOG" = "ON" ]; then rm -f $TMPDIR/dialog.tmp if [ "$2" = "upgrade" ]; then - ls -1 $ROOT/var/log/packages > $TMPDIR/tmplist + ls -1 $ROOT/var/log/packages/ > $TMPDIR/tmplist for i in $1; do BASENAME=$(cutpkg $i) PKGFOUND=$(grep -m1 -e "^${BASENAME}-[^-]\+-\(noarch\|fw\|${ARCH}\)" $TMPDIR/tmplist) |