OS: Add support for AryaLinux

This commit is contained in:
Michael Straube 2017-07-26 10:34:46 +02:00
parent db5c977ef9
commit 03e2da715d
2 changed files with 23 additions and 0 deletions

15
ascii/distro/arya Normal file
View File

@ -0,0 +1,15 @@
${c1} `oyyy/${c2}-yyyyyy+
${c1} -syyyy/${c2}-yyyyyy+
${c1} .syyyyy/${c2}-yyyyyy+
${c1} :yyyyyy/${c2}-yyyyyy+
${c1} `/ :yyyyyy/${c2}-yyyyyy+
${c1} .+s :yyyyyy/${c2}-yyyyyy+
${c1} .oys :yyyyyy/${c2}-yyyyyy+
${c1} -oyys :yyyyyy/${c2}-yyyyyy+
${c1} :syyys :yyyyyy/${c2}-yyyyyy+
${c1} /syyyys :yyyyyy/${c2}-yyyyyy+
${c1} +yyyyyys :yyyyyy/${c2}-yyyyyy+
${c1} .oyyyyyyo. :yyyyyy/${c2}-yyyyyy+ ---------
${c1} .syyyyyy+` :yyyyyy/${c2}-yyyyy+-+syyyyyyyy
${c1} -syyyyyy/ :yyyyyy/${c2}-yyys:.syyyyyyyyyy
${c1}:syyyyyy/ :yyyyyy/${c2}-yyo.:syyyyyyyyyyy

View File

@ -520,6 +520,9 @@ get_packages() {
type -p sorcery >/dev/null && \ type -p sorcery >/dev/null && \
packages="$((packages+=$(gaze installed | wc -l)))" packages="$((packages+=$(gaze installed | wc -l)))"
type -p alps >/dev/null && \
packages="$((packages+=$(alps showinstalled | wc -l)))"
if type -p pkg >/dev/null; then if type -p pkg >/dev/null; then
case "$kernel_name" in case "$kernel_name" in
"FreeBSD") packages="$((packages+=$(pkg info | wc -l)))" ;; "FreeBSD") packages="$((packages+=$(pkg info | wc -l)))" ;;
@ -2956,6 +2959,11 @@ get_distro_colors() {
ascii_file="arch" ascii_file="arch"
;; ;;
"Arya"*)
set_colors 2 1
ascii_file="arya"
;;
"Bitrig"*) "Bitrig"*)
set_colors 2 7 set_colors 2 7
ascii_file="bitrig" ascii_file="bitrig"