mirror of
https://github.com/rworkman/slackpkg
synced 2024-12-25 21:58:42 +01:00
Remove now pointless if/then/else
This commit is contained in:
parent
969f650ff1
commit
af7d21a99e
1 changed files with 3 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue