summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2009-08-16 09:04:21 -0500
committerDan McGee <dan@archlinux.org>2009-08-16 09:04:21 -0500
commit1d94c827c8e9efe6e56bc15f993a1ce3764a675a (patch)
tree5a43d4622cc85ea5511071216d8c0f31fbcdb20f
parentcc7f23a6e7b978c4aa66c6288904a64abb2f06ec (diff)
Add DB_COMPRESSION var to all scripts that need it
Signed-off-by: Dan McGee <dan@archlinux.org>
-rwxr-xr-xcron-jobs/createFileLists1
-rwxr-xr-xdb-move1
-rwxr-xr-xdb-remove1
-rwxr-xr-xdb-update1
4 files changed, 4 insertions, 0 deletions
diff --git a/cron-jobs/createFileLists b/cron-jobs/createFileLists
index 61cbc21..2e42e56 100755
--- a/cron-jobs/createFileLists
+++ b/cron-jobs/createFileLists
@@ -3,6 +3,7 @@
reposdir=/srv/ftp/
targetdir=$reposdir
repos="core extra testing community"
+DB_COMPRESSION="gz"
. $(dirname $0)/../config
diff --git a/db-move b/db-move
index e3897e3..1b07091 100755
--- a/db-move
+++ b/db-move
@@ -13,6 +13,7 @@ packagebase="$1"
repofrom="$2"
repoto="$3"
_arch="$4"
+DB_COMPRESSION='gz'
export CARCH="$_arch"
diff --git a/db-remove b/db-remove
index bbf8044..b246a8f 100755
--- a/db-remove
+++ b/db-remove
@@ -12,6 +12,7 @@ source_makepkg
packagebase="$1"
reponame="$2"
arch="$3"
+DB_COMPRESSION='gz'
export CARCH="$arch"
diff --git a/db-update b/db-update
index 939fe56..8e7a0c7 100755
--- a/db-update
+++ b/db-update
@@ -11,6 +11,7 @@ source_makepkg
reponame="$1"
current_arch=""
+DB_COMPRESSION='gz'
[ "$UID" = "" ] && UID=$(uid)