From 1d94c827c8e9efe6e56bc15f993a1ce3764a675a Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sun, 16 Aug 2009 09:04:21 -0500 Subject: Add DB_COMPRESSION var to all scripts that need it Signed-off-by: Dan McGee --- cron-jobs/createFileLists | 1 + db-move | 1 + db-remove | 1 + db-update | 1 + 4 files changed, 4 insertions(+) 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) -- cgit v1.2.3