diff options
author | Erich Eckner <git@eckner.net> | 2020-11-12 19:29:29 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-11-12 19:29:29 +0100 |
commit | f62916ce10179481d12af97dfb38847cb1d524b5 (patch) | |
tree | 360a60c7ba6eb1a1402934121e3906c141fa7acd | |
parent | 01ea61cad43f4453b3b03cedc71a7eedcd241d76 (diff) | |
download | archlinuxewe-f62916ce10179481d12af97dfb38847cb1d524b5.tar.xz |
archPackagesUpdate: `hostname` -> `uname -n`
-rwxr-xr-x | archPackagesUpdate | 4 |
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 \ |