summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-04-06 08:50:34 +0200
committerErich Eckner <git@eckner.net>2016-04-06 08:50:34 +0200
commitd02c5e259e333fc8ef5b571134dede5e6070a481 (patch)
treec2a449047bc3181af3456ecb6bd2635923a2a1f1
parentf9b761cca2b6bc9466d6ec0ba5c6698f3b65d800 (diff)
downloadarchlinuxewe.git.save-d02c5e259e333fc8ef5b571134dede5e6070a481.tar.xz
archPackagesUpdate nun strenger ob auf rechenknecht
-rwxr-xr-xarchPackagesUpdate5
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