summaryrefslogtreecommitdiff
path: root/configs/install-iso
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-01-20 13:09:33 -0600
committerAaron Griffin <aaronmgriffin@gmail.com>2009-01-20 13:09:33 -0600
commit29c11da4093ab918929ed93991dce8155127fefa (patch)
treec437af9205ef580bd6b0496c975b90029024c0e4 /configs/install-iso
parent9b775f152c1b9622343b097f36a363b4badb57e6 (diff)
downloadarchiso32-29c11da4093ab918929ed93991dce8155127fefa.tar.xz
Ensure download-repo syncs pacman DBs first
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'configs/install-iso')
-rwxr-xr-xconfigs/install-iso/download-repo.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/install-iso/download-repo.sh b/configs/install-iso/download-repo.sh
index 35029fe..c32beab 100755
--- a/configs/install-iso/download-repo.sh
+++ b/configs/install-iso/download-repo.sh
@@ -32,6 +32,9 @@ fi
[ -d "$DEST" ] || mkdir -p "$DEST"
+#update repos
+/usr/bin/pacman -Sy
+
#Ensure we have core/pkgname format, so we don't get crap from other repos
PKGS=$(/usr/bin/pacman -Sl $REPO | cut -d' ' -f1,2 | tr ' ' '/')