Implement support for apt.

master
Icedream 2018-02-17 20:33:40 +01:00
parent 83ca618251
commit 46d02da26e
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 9 additions and 1 deletions

View File

@ -72,6 +72,7 @@ fi
# package manager detection # package manager detection
for pm in \ for pm in \
apt-get \
pacaur \ pacaur \
pacman \ pacman \
pip \ pip \
@ -81,7 +82,14 @@ for pm in \
yay \ yay \
; do ; do
if has_binary "$pm"; then if has_binary "$pm"; then
add_tag "pm:$pm" case "$pm" in
apt-get)
add_tag "pm:apt"
;;
*)
add_tag "pm:$pm"
;;
esac
fi fi
done done