From 191fb776b3b8df33f89dabb1d79a0ef359a108c1 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sun, 14 Feb 2016 19:42:27 +1100 Subject: [PATCH] Added support for Solus --- 1.2.md | 1 + ascii/distro/solus | 20 ++++++++++++++++++++ fetch | 9 +++++++++ 3 files changed, 30 insertions(+) create mode 100644 ascii/distro/solus diff --git a/1.2.md b/1.2.md index 79619be1..84610354 100644 --- a/1.2.md +++ b/1.2.md @@ -16,6 +16,7 @@ Fetch now supports: - `BLAG` - `Void Linux` - `Trisquel` +- `Solus` ### Makefile diff --git a/ascii/distro/solus b/ascii/distro/solus new file mode 100644 index 00000000..d66c6ad6 --- /dev/null +++ b/ascii/distro/solus @@ -0,0 +1,20 @@ +"\ +${c1} e e +${c1} eee ee +${c1} eeee eee +${c2} wwwwwwwww${c1}eeeeee +${c2} wwwwwwwwwwwwwww${c1}eee +${c2} wwwwwwwwwwwwwwwwwww${c1}eeeeeeee +${c2} wwwww ${c1}eeeee${c2}wwwwww${c1}eeee +${c2} www ${c1}eeee${c2}wwwwww${c1}e +${c2} ww ${c1}ee${c2}wwwwww +${c2} w wwwww +${c2} wwwww +${c2} wwwww +${c2} wwwww +${c2} wwww +${c2} wwww +${c2} wwww +${c2} www +${c2} ww +" diff --git a/fetch b/fetch index d61c8246..ef886605 100755 --- a/fetch +++ b/fetch @@ -635,6 +635,10 @@ getpackages () { packages="$(pkginfo -i | wc -l)" ;; + "Solus"*) + packages="$(pisi list-installed | wc -l)" + ;; + "Mac OS X"*) if [ -d "/usr/local/bin" ]; then local_packages=$(ls -l /usr/local/bin/ | grep -v "\(../Cellar/\|brew\)" | wc -l) @@ -1663,6 +1667,11 @@ getascii () { c2=$(color 1) ;; + "Solus"*) + c1=$(color 7) + c2=$(color 8) + ;; + "Trisquel"*) c1=$(color 4) c2=$(color 6)