wok-6.x diff screenfetch/stuff/slitaz.patch @ rev 17358
Add asterisk-speech-recog
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 18 21:43:05 2014 +0100 (2014-11-18) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/screenfetch/stuff/slitaz.patch Tue Nov 18 21:43:05 2014 +0100 1.3 @@ -0,0 +1,98 @@ 1.4 +--- screenfetch-dev.orig 2014-07-09 18:56:48.000000000 +0100 1.5 ++++ screenfetch-dev 2014-07-13 13:17:37.000000000 +0100 1.6 +@@ -207,8 +207,8 @@ 1.7 + printf " CrunchBang, Raspbian, elementary OS, Fedora, Frugalware, Fuduntu, Gentoo,\n" 1.8 + printf " Funtoo, Jiyuu Linux, LinuxDeepin, Kali Linux, Mageia, Mandriva, Manjaro,\n" 1.9 + printf " Linux Mint, LMDE, openSUSE, Parabola GNU/Linux-libre, Peppermint,\n" 1.10 +- printf " Red Hat Enterprise Linux, Sabayon, Scientific Linux, Slackware, SolusOS,\n" 1.11 +- printf " TinyCore, Trisquel, Ubuntu and Viperr.\n\n" 1.12 ++ printf " Red Hat Enterprise Linux, Sabayon, Scientific Linux, Slackware, SliTaz,\n" 1.13 ++ printf " SolusOS, TinyCore, Trisquel, Ubuntu and Viperr.\n\n" 1.14 + printf "${underline}Other Supported Systems${c0}:\n" 1.15 + printf " Mac OS X, FreeBSD, DragonFlyBSD, NetBSD, OpenBSD, Android and Cygwin.\n\n" 1.16 + printf "${underline}Supported Desktop Managers${c0}:\n" 1.17 +@@ -440,6 +440,8 @@ 1.18 + distro="Sabayon" 1.19 + elif [[ "${distro_detect}" == "SolusOS" ]]; then 1.20 + distro="SolusOS" 1.21 ++ elif [[ "${distro_detect}" == "SliTaz" ]]; then 1.22 ++ distro="SliTaz" 1.23 + elif [[ "${distro_detect}" == "Trisquel" ]]; then 1.24 + distro="Trisquel" 1.25 + elif [[ "${distro_detect}" == "Ubuntu" ]]; then 1.26 +@@ -535,6 +537,7 @@ 1.27 + elif [ -f /etc/redhat-release ] && grep -q "Red Hat" /etc/redhat-release; then distro="Red Hat Enterprise Linux" 1.28 + elif [ -f /etc/redhat-release ] && grep -q "CentOS" /etc/redhat-release; then distro="CentOS" 1.29 + elif [ -f /etc/slackware-version ]; then distro="Slackware" 1.30 ++ elif [ -f /etc/slitaz-release ]; then distro="SliTaz" 1.31 + elif [ -f /usr/share/doc/tc/release.txt ]; then distro="TinyCore" 1.32 + elif [ -f /etc/sabayon-edition ]; then distro="Sabayon"; fi 1.33 + else 1.34 +@@ -645,6 +648,7 @@ 1.35 + gentoo) distro="Gentoo" ;; 1.36 + funtoo) distro="Funtoo" ;; 1.37 + slackware) distro="Slackware" ;; 1.38 ++ slitaz) distro="SliTaz" ;; 1.39 + frugalware) distro="Frugalware" ;; 1.40 + peppermint) distro="Peppermint" ;; 1.41 + solusos) distro="SolusOS" ;; 1.42 +@@ -729,6 +733,7 @@ 1.43 + case $distro in 1.44 + 'Arch Linux'|'Parabola GNU/Linux-libre'|'Chakra'|'Manjaro'|'Antergos'|'KaOS') pkgs=$(pacman -Qq | wc -l) ;; 1.45 + 'Frugalware') pkgs=$(pacman-g2 -Q | wc -l) ;; 1.46 ++ 'SliTaz') pkgs=$(tazpkg list | wc -l) ;; 1.47 + 'Fuduntu'|'Ubuntu'|'Mint'|'SolusOS'|'Debian'|'Raspbian'|'LMDE'|'CrunchBang'|'Peppermint'|'LinuxDeepin'|'Kali Linux'|'Trisquel'|'elementary OS') pkgs=$(dpkg --get-selections | wc -l) ;; 1.48 + 'Slackware') pkgs=$(ls -1 /var/log/packages | wc -l) ;; 1.49 + 'Gentoo'|'Sabayon'|'Funtoo') pkgs=$(ls -d /var/db/pkg/*/* | wc -l) ;; 1.50 +@@ -2967,6 +2972,33 @@ 1.51 + "${c2} ............... %s") 1.52 + ;; 1.53 + 1.54 ++ "#SliTaz") 1.55 ++ if [[ "$no_color" != "1" ]]; then 1.56 ++ c1=$(getColor 'light grey') # Light Grey 1.57 ++ fi 1.58 ++ if [ -n "${my_lcolor}" ]; then c1="${my_lcolor}"; fi 1.59 ++ startline="0" 1.60 ++ fulloutput=( 1.61 ++"${c1} # # %s" 1.62 ++"${c1} # ## # %s" 1.63 ++"${c1} ## ## ### ## %s" 1.64 ++"${c1} ## ### ### ## %s" 1.65 ++"${c1} ## ### ## ## %s" 1.66 ++"${c1} ### #### ##### #### ###%s" 1.67 ++"${c1} #### ##### ####### ##### ####%s" 1.68 ++"${c1} ############################ %s" 1.69 ++"${c1} ###################### %s" 1.70 ++"${c1} ################################# %s" 1.71 ++"${c1} ## ################ #### ## %s" 1.72 ++"${c1} # ### ############ ### ## %s" 1.73 ++"${c1} # ## ########### ### # %s" 1.74 ++"${c1} # # ########### # %s" 1.75 ++"${c1} ######## %s" 1.76 ++" %s" 1.77 ++" %s" 1.78 ++" %s") 1.79 ++ ;; 1.80 ++ 1.81 + 1.82 + "KaOS") 1.83 + if [[ "$no_color" != "1" ]]; then 1.84 +@@ -3086,7 +3118,7 @@ 1.85 + if [[ "$no_color" != "1" ]]; then 1.86 + c1=$(getColor 'white') # White 1.87 + c2=$(getColor 'dark grey') # Light Gray 1.88 +- c3=$(getColor 'yellow') # Light Yellow 1.89 ++ c3=$(getColor 'light red') # Light Red 1.90 + fi 1.91 + if [ -n "${my_lcolor}" ]; then c1="${my_lcolor}"; c2="${my_lcolor}"; c3="${my_lcolor}"; fi 1.92 + startline="0" 1.93 +@@ -3188,7 +3220,7 @@ 1.94 + "Arch Linux - Old"|"Fedora"|"Mandriva"|"Mandrake"|"Chakra"|"Sabayon"|"Slackware"|"Mac OS X"|"Trisquel"|"Kali Linux"|"Jiyuu Linux"|"Antergos"|"KaOS") labelcolor=$(getColor 'light blue');; 1.95 + "Arch Linux"|"Frugalware"|"Mageia") labelcolor=$(getColor 'light cyan');; 1.96 + "Mint"|"LMDE"|"openSUSE"|"LinuxDeepin"|"DragonflyBSD"|"Manjaro"|"Manjaro-tree"|"Android") labelcolor=$(getColor 'light green');; 1.97 +- "Ubuntu-3color"|"FreeBSD"|"Debian"|"Raspbian"|"BSD"|"Red Hat Enterprise Linux"|"Peppermint"|"Cygwin"|"Fuduntu"|"NetBSD"|"Scientific Linux"|"DragonFlyBSD"|"BackTrack Linux") labelcolor=$(getColor 'light red');; 1.98 ++ "Ubuntu-3color"|"FreeBSD"|"Debian"|"Raspbian"|"BSD"|"Red Hat Enterprise Linux"|"Peppermint"|"Cygwin"|"Fuduntu"|"NetBSD"|"Scientific Linux"|"DragonFlyBSD"|"SliTaz"|"BackTrack Linux") labelcolor=$(getColor 'light red');; 1.99 + "CrunchBang"|"SolusOS"|"Viperr"|"elementary"*) labelcolor=$(getColor 'dark grey');; 1.100 + "Gentoo"|"Parabola GNU/Linux-libre"|"Funtoo"|"Funtoo-text") labelcolor=$(getColor 'light purple');; 1.101 + "CentOS"|"Ubuntu"|*) labelcolor=$(getColor 'yellow');;