Remove now pointless if/then/else

This commit is contained in:
Dave Woodfall 2021-04-05 05:17:43 +00:00
parent 969f650ff1
commit af7d21a99e

View file

@ -631,13 +631,9 @@ function makelist() {
INPUTLIST=$@
if echo $CMD | grep -q install ; then
ls -1 $ROOT/var/log/packages/* |
printf "%s\n" $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
cat ${WORKDIR}/pkglist > ${TMPDIR}/pkglist
touch ${TMPDIR}/waiting