diff options
author | Erich Eckner <git@eckner.net> | 2016-04-06 08:50:34 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-04-06 08:50:34 +0200 |
commit | d02c5e259e333fc8ef5b571134dede5e6070a481 (patch) | |
tree | c2a449047bc3181af3456ecb6bd2635923a2a1f1 | |
parent | f9b761cca2b6bc9466d6ec0ba5c6698f3b65d800 (diff) | |
download | archlinuxewe.git.save-d02c5e259e333fc8ef5b571134dede5e6070a481.tar.xz |
archPackagesUpdate nun strenger ob auf rechenknecht
-rwxr-xr-x | archPackagesUpdate | 5 |
1 files changed, 4 insertions, 1 deletions
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 |