Add pkglist support for Alpine Linux.
This commit is contained in:
parent
9e9950bf8a
commit
7f7a0a110a
1 changed files with 3 additions and 0 deletions
|
|
@ -11,6 +11,9 @@
|
||||||
|
|
||||||
# Create package list depending on system type.
|
# Create package list depending on system type.
|
||||||
case "$ID" in
|
case "$ID" in
|
||||||
|
'alpine')
|
||||||
|
/sbin/apk list -I | cut -d' ' -f1 | rev | cut -d- -f3- | rev >/etc/pkglist
|
||||||
|
;;
|
||||||
'debian'|'ubuntu')
|
'debian'|'ubuntu')
|
||||||
/usr/bin/dpkg-query --show --showformat='${Package}\n' >/etc/pkglist
|
/usr/bin/dpkg-query --show --showformat='${Package}\n' >/etc/pkglist
|
||||||
;;
|
;;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue