summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2010-12-29 18:06:20 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2010-12-29 18:06:20 -0300
commit24faa0967c8de3f6ba2a9280be6a2f146b5de5fc (patch)
tree6c3aee1d5602867f2f2f9cc56f736bbcf795ce50
parent9b9f5ee6b4af2b560b4520c587efbb1678c0027a (diff)
Forgot to change back to default cache dir
-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")"