summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-11-12 19:29:29 +0100
committerErich Eckner <git@eckner.net>2020-11-12 19:29:29 +0100
commitf62916ce10179481d12af97dfb38847cb1d524b5 (patch)
tree360a60c7ba6eb1a1402934121e3906c141fa7acd
parent01ea61cad43f4453b3b03cedc71a7eedcd241d76 (diff)
downloadarchlinuxewe-f62916ce10179481d12af97dfb38847cb1d524b5.tar.xz
archPackagesUpdate: `hostname` -> `uname -n`
-rwxr-xr-xarchPackagesUpdate4
1 files changed, 2 insertions, 2 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index a796dee11..50ed1bfc5 100755
--- a/archPackagesUpdate
+++ b/archPackagesUpdate
@@ -6,7 +6,7 @@ trap 'rm -rf --one-file-system "${tmpDir}"' EXIT
pkgDir='/srv/http/vhosts/eckner.net/archlinuxewe/os'
pkgDir32='/mnt/mirror.archlinux32.org/x86_64/releng'
pkgSrcDir="$(dirname $(readlink -f -n "$0"))"
-[ "$(hostname)" == "rechenknecht" ] && \
+[ "$(uname -n)" == "rechenknecht" ] && \
[ "${pkgSrcDir}" == "${HOME}" ] && \
aufRechenknecht=true || \
aufRechenknecht=false
@@ -590,7 +590,7 @@ if ${aufRechenknecht}; then
printf '%s\n' \
"From: plasmapaule@gmail.com" \
"To: buildmaster@archlinux32.org" \
- "Subject: $(hostname) - report about installed ${arch} packages" \
+ "Subject: $(uname -n) - report about installed ${arch} packages" \
""
find . \
-mindepth 1 \