summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdownload-repo.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/download-repo.sh b/download-repo.sh
index ac72cfe..0c06685 100755
--- a/download-repo.sh
+++ b/download-repo.sh
@@ -42,7 +42,7 @@ PKGS=$(/usr/bin/pacman -Sl $REPO | cut -d' ' -f1,2 | tr ' ' '/')
if [ -n "$PKGS" ]; then
baseurl=""
- cachedir="/home/nicolas/pkg/cache"
+ cachedir="/var/cache/pacman/pkg/"
for url in $(/usr/bin/pacman -Sdp $PKGS | grep '://'); do
baseurl="$(dirname "$url")" #save for later
pkgname="$(basename "$url")"