summaryrefslogtreecommitdiffstats
path: root/files/dialog-functions.sh
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackware.com>2018-06-07 23:00:02 -0500
committerRobby Workman <rworkman@slackware.com>2018-06-07 23:00:02 -0500
commit10b2f7d493a7ded620cdc20ab582b25f58e45c62 (patch)
tree330234981c89a3ee20bd863155ed795344df2581 /files/dialog-functions.sh
parente1fc7d99876aaba621fb353d8c484756e20ad0e8 (diff)
downloadslackpkg-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.sh2
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)