From 0f9c7c38fe746d73d3f2964061c72638337a32e6 Mon Sep 17 00:00:00 2001 From: Viktor Svensson Date: Sun, 24 Feb 2019 21:05:34 +0100 Subject: [PATCH] cahce -> cache :^) --- pp.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pp.sh b/pp.sh index ae9a346..d65715c 100644 --- a/pp.sh +++ b/pp.sh @@ -2,7 +2,7 @@ arch=$(uname -m) maxMirrorForDownload=4 -pacmanCahceDir="$(pacman-conf CacheDir)" +pacmanCacheDir="$(pacman-conf CacheDir)" if [[ $UID -ne 0 ]]; then sudo -p 'Restarting as root, password: ' bash $0 "$@" @@ -45,7 +45,7 @@ for pkgNameAndVersion in "${packageList[@]}"; do fi done - aria2c -c $downloadList -d "$pacmanCahceDir" &> /dev/null & + aria2c -c $downloadList -d "$pacmanCacheDir" &> /dev/null & running=$(jobs |wc -l) echo ">>> $(date +%T) | Downloading $pkgName, $running/$maxParallelDownload download"