From d02c5e259e333fc8ef5b571134dede5e6070a481 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 6 Apr 2016 08:50:34 +0200 Subject: archPackagesUpdate nun strenger ob auf rechenknecht --- archPackagesUpdate | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/archPackagesUpdate b/archPackagesUpdate index 973d1fa8..e168a1a0 100755 --- a/archPackagesUpdate +++ b/archPackagesUpdate @@ -4,7 +4,10 @@ tmpDir="$(mktemp -d /tmp/archive.XXXXXX)" pkgDir="/srv/arch-mirror/arch/arch/archlinuxewe/os" pkgSrcDir="$(dirname $(readlink -f -n "$0"))" -[ "$(hostname)" == "rechenknecht" ] && aufRechenknecht=true || aufRechenknecht=false +[ "$(hostname)" == "rechenknecht" ] && \ + [ "${pkgSrcDir}" == "${HOME}" ] && \ + aufRechenknecht=true || \ + aufRechenknecht=false force=false upload=true updateMe=true -- cgit v1.2.3-70-g09d2