Add pkglist support for Alpine Linux.

This commit is contained in:
Darren 'Tadgy' Austin 2025-09-10 19:46:43 +01:00
commit 7f7a0a110a

View file

@ -11,6 +11,9 @@
# Create package list depending on system type.
case "$ID" in
'alpine')
/sbin/apk list -I | cut -d' ' -f1 | rev | cut -d- -f3- | rev >/etc/pkglist
;;
'debian'|'ubuntu')
/usr/bin/dpkg-query --show --showformat='${Package}\n' >/etc/pkglist
;;