Skip to content

Commit

Permalink
Merge pull request #2 from MonsterMannen/master
Browse files Browse the repository at this point in the history
cahce -> cache :^)
  • Loading branch information
lestofante authored May 29, 2019
2 parents 1b13539 + 0f9c7c3 commit 1a599ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 1a599ab

Please sign in to comment.