We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7fe37f commit 45623cbCopy full SHA for 45623cb
1 file changed
airootfs/root/.zshrc.local
@@ -25,9 +25,11 @@ function cowsize_expand()
25
function faster_pacman()
26
{
27
# Enables color output and parallel downloads to pacman.
28
- # I'd recommend you to select faster mirrors in the /etc/pacman.d/mirrorlist file.
+ # Additionally, updates the CacheDir variable to use our /root/pkg directory.
29
+ # As a recommendation, select faster mirrors in the /etc/pacman.d/mirrorlist file.
30
- echo ">> Enabling parallel downloads for pacman ... <<"
31
+ echo ">> Improving pacman's performance ... <<"
32
sed -i "s/\#Color/Color/g" /etc/pacman.conf
33
sed -i "s/\#ParallelDownloads/ParallelDownloads/g" /etc/pacman.conf
34
+ sed -i "s/\#CacheDir.*/CacheDir = \/root\/pkg/g" /etc/pacman.conf
35
}
0 commit comments