Added support for NixOS
This commit is contained in:
parent
d2df70f77d
commit
6daade00ad
1
1.2.md
1
1.2.md
|
@ -19,6 +19,7 @@ Fetch now supports:
|
|||
- `Trisquel`
|
||||
- `Solus`
|
||||
- `Peppermint`
|
||||
- `NixOS`
|
||||
|
||||
|
||||
### Makefile
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
"\
|
||||
${c1} ::::. ${c2}'::::: ::::'
|
||||
${c1} '::::: ${c2}':::::. ::::'
|
||||
${c1} ::::: ${c2}'::::.:::::
|
||||
${c1} .......:::::..... ${c2}::::::::
|
||||
${c1} ::::::::::::::::::. ${c2}:::::: ${c1}::::.
|
||||
${c1} ::::::::::::::::::::: ${c2}:::::. ${c1}.::::'
|
||||
${c2} ..... ::::' ${c1}:::::'
|
||||
${c2} ::::: '::' ${c1}:::::'
|
||||
${c2} ........::::: ' ${c1}:::::::::::.
|
||||
${c2}::::::::::::: ${c1}:::::::::::::
|
||||
${c2} ::::::::::: ${c1}.. ${c1}:::::
|
||||
${c2} .::::: ${c1}.::: ${c1}:::::
|
||||
${c2} .::::: ${c1}::::: ${c1}''''' ${c2}.....
|
||||
${c2} ::::: ${c1}':::::. ${c2}......:::::::::::::'
|
||||
${c2} ::: ${c1}::::::. ${c2}':::::::::::::::::'
|
||||
${c1} .:::::::: ${c2}'::::::::::
|
||||
${c1} .::::''::::. ${c2}'::::.
|
||||
${c1} .::::' ::::. ${c2}'::::.
|
||||
${c1} .:::: :::: ${c2}'::::.
|
||||
"
|
6
fetch
6
fetch
|
@ -626,6 +626,10 @@ getpackages () {
|
|||
packages="$(ls -d /var/db/pkg/*/* | wc -l)"
|
||||
;;
|
||||
|
||||
"NixOS"*)
|
||||
packages="$(ls -d -1 /nix/store/*/ | wc -l)"
|
||||
;;
|
||||
|
||||
"Fedora"* | "openSUSE"* | "Red Hat"* | "CentOS"* | "Mageia"* | "PCLinuxOS"* |\
|
||||
"BLAG"*)
|
||||
packages="$(rpm -qa | wc -l)"
|
||||
|
@ -1684,7 +1688,7 @@ getascii () {
|
|||
c2=$(color 8)
|
||||
;;
|
||||
|
||||
"Trisquel"*)
|
||||
"Trisquel"* | "NixOS"*)
|
||||
c1=$(color 4)
|
||||
c2=$(color 6)
|
||||
;;
|
||||
|
|
Reference in New Issue