Add Ubuntu pkglist support.
This commit is contained in:
parent
00990348c9
commit
f29812f283
1 changed files with 3 additions and 0 deletions
|
|
@ -11,6 +11,9 @@
|
|||
|
||||
# Create package list depending on system type.
|
||||
case "$ID" in
|
||||
'debian')
|
||||
/usr/bin/dpkg-query --show --showformat='${Package}\n' >/etc/pkglist
|
||||
;;
|
||||
'slackware')
|
||||
/usr/sbin/slackpkg -batch=on -default_answer=y generate-template "$(hostname --short)" >/dev/null
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue