Browse Source

general: Fix travis.

Dylan Araps 6 years ago
parent
commit
ff42047157
1 changed files with 1 additions and 1 deletions
  1. 1 1
      neofetch

+ 1 - 1
neofetch

@@ -1309,7 +1309,7 @@ get_packages() {
     has() { type -p "$1" >/dev/null && manager="$_"; }
     dir() { ((packages+=$#)); pac "$#"; }
     pac() { (($1 > 0)) && { managers+=("$1 (${manager})"); manager_string+="${manager}, "; }; }
-    tot() { IFS=$'\n' read -d "" -ra pkgs <<< "$("$@")";((packages+="${#pkgs[@]}"));pac "${#pkgs[@]}"; }
+    tot() { IFS=$'\n' read -d "" -ra pkgs <<< "$("$@")";((packages+=${#pkgs[@]}));pac "${#pkgs[@]}";}
 
     # Redefine tot() for Bedrock Linux.
     [[ -f "/bedrock/etc/bedrock-release" && "$PATH" == */bedrock/cross/* ]] && {