Added support for Exherbo Linux
This commit is contained in:
parent
1335eb295b
commit
4a0f02bde7
2 changed files with 35 additions and 0 deletions
11
fetch
11
fetch
|
@ -642,6 +642,11 @@ getpackages () {
|
|||
|
||||
elif type -p pacman-g2 >/dev/null 2>&1; then
|
||||
packages="$(pacman-g2 -Q | wc -l)"
|
||||
|
||||
elif type -p cave >/dev/null 2>&1; then
|
||||
cross_packages=$(ls -d -1 /var/db/paludis/repositories/cross-installed/*/data/* | wc -l)
|
||||
packages=$(ls -d -1 /var/db/paludis/repositories/installed/data/* | wc -l)
|
||||
packages=$((packages + cross_packages))
|
||||
fi
|
||||
;;
|
||||
|
||||
|
@ -1631,6 +1636,12 @@ getascii () {
|
|||
ascii_distro="redhat"
|
||||
;;
|
||||
|
||||
"Exherbo"*)
|
||||
c1=$(color 7)
|
||||
c2=$(color 4)
|
||||
c3=$(color 1)
|
||||
;;
|
||||
|
||||
"Fedora"* | "Sabayon"* | "Frugalware"*)
|
||||
c1=$(color 7)
|
||||
c2=$(color 4)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue