mirror of
https://github.com/KittyKatt/screenFetch.git
synced 2026-01-10 06:48:00 -05:00
more changes per @darealshinji comments
This commit is contained in:
@@ -1283,8 +1283,7 @@ detectpkgs () {
|
||||
pkgs=$(pkg_info | wc -l | tr -d ' ')
|
||||
;;
|
||||
'Cygwin')
|
||||
cygfix=2
|
||||
pkgs=$(($(cygcheck -cd | wc -l) - cygfix))
|
||||
pkgs=$(($(cygcheck -cd | wc -l) - 2))
|
||||
if [ -d "/cygdrive/c/ProgramData/chocolatey/lib" ]; then
|
||||
chocopkgs=$(( $(ls -1 /cygdrive/c/ProgramData/chocolatey/lib | wc -l) ))
|
||||
pkgs=$((pkgs + chocopkgs))
|
||||
|
||||
Reference in New Issue
Block a user