From 8faf71c0ebb334ca713f923768b9802baf6b9598 Mon Sep 17 00:00:00 2001 From: blundellc Date: Sat, 13 Sep 2008 16:34:14 +0000 Subject: [PATCH] make update use mini-dinstall config from system-depenent config (oops!) git-svn-id: svn://svn.r-forge.r-project.org/svnroot/cran2deb@156 edb9625f-4e0d-4859-8d74-9fd3b1da38cb --- branch/multisys/exec/update | 6 +++--- branch/multisys/exec/update_cache | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/branch/multisys/exec/update b/branch/multisys/exec/update index 80565ba..bca9913 100755 --- a/branch/multisys/exec/update +++ b/branch/multisys/exec/update @@ -8,8 +8,9 @@ umask 002 root=$1 shift -mkdir -p /var/cache/cran2deb/results || exit 1 -mini-dinstall --batch -c /etc/cran2deb/mini-dinstall.conf || exit 1 +sys=`{cran2deb which_sys} +mkdir -p /var/cache/cran2deb/results/$sys || exit 1 +mini-dinstall --batch -c /etc/cran2deb/sys/$sys/mini-dinstall.conf || exit 1 update_period=10800 if (~ $1 full || ![ -e /var/cache/cran2deb/cache.rda ] ) { delta=`{awk 'END{print '^$update_period^'+1}'