summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
Diffstat (limited to 'files')
-rw-r--r--files/core-functions.sh10
1 files changed, 3 insertions, 7 deletions
diff --git a/files/core-functions.sh b/files/core-functions.sh
index 1f4faf3..2e89f45 100644
--- a/files/core-functions.sh
+++ b/files/core-functions.sh
@@ -631,13 +631,9 @@ function makelist() {
INPUTLIST=$@
- if echo $CMD | grep -q install ; then
- ls -1 $ROOT/var/log/packages/* |
- awk -f /usr/libexec/slackpkg/pkglist.awk > ${TMPDIR}/tmplist
- else
- ls -1 $ROOT/var/log/packages/* |
- awk -f /usr/libexec/slackpkg/pkglist.awk > ${TMPDIR}/tmplist
- fi
+ printf "%s\n" $ROOT/var/log/packages/* |
+ awk -f /usr/libexec/slackpkg/pkglist.awk > ${TMPDIR}/tmplist
+
cat ${WORKDIR}/pkglist > ${TMPDIR}/pkglist
touch ${TMPDIR}/waiting