Fix wrong test in cronjob-update-packages-list.
This commit is contained in:
parent
88f3051d8a
commit
a7e218c666
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ case "$ID" in
|
|||
;;
|
||||
'slackware')
|
||||
/usr/sbin/slackpkg -batch=on -default_answer=y generate-template "$(hostname --short)" >/dev/null
|
||||
[[ ! -e "/etc/slackpkg/templates/$(hostname --short).template" ]] && ln -sf "/etc/slackpkg/templates/$(hostname --short).template" /etc/pkglist
|
||||
[[ ! -e /etc/pkglist ]] && ln -sf "/etc/slackpkg/templates/$(hostname --short).template" /etc/pkglist
|
||||
;;
|
||||
'void')
|
||||
/usr/sbin/xbps-query -l | awk '{ print $2 }' | rev | cut -d- -f2- | rev >/etc/pkglist
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue