summaryrefslogtreecommitdiff
path: root/archPackagesUpdate
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-10-10 22:07:47 +0200
committerErich Eckner <git@eckner.net>2020-10-10 22:07:47 +0200
commit4672999ce726c6e016fd09f1e1d18edc10236ea3 (patch)
treeaa61d1494ae3573b32e56af553369d2626a319e9 /archPackagesUpdate
parent75c9b184e8f56e31b375d5f6d1cc1900dd7214f4 (diff)
downloadarchlinuxewe-4672999ce726c6e016fd09f1e1d18edc10236ea3.tar.xz
archPackagesUpdate: push to eckner.net
Diffstat (limited to 'archPackagesUpdate')
-rwxr-xr-xarchPackagesUpdate11
1 files changed, 6 insertions, 5 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index 3e6ddcedc..d8e72f869 100755
--- a/archPackagesUpdate
+++ b/archPackagesUpdate
@@ -3,7 +3,7 @@
# init variables
tmpDir="$(mktemp -d ~/tmp.archive.XXXXXX)"
trap 'rm -rf --one-file-system "${tmpDir}"' EXIT
-pkgDirBase="/srv/arch-mirror/arch/arch"
+pkgDirBase="/srv/http/vhosts/eckner.net"
pkgDir="${pkgDirBase}/archlinuxewe/os"
pkgDir32="${pkgDirBase}/archlinux32/x86_64/releng"
pkgSrcDir="$(dirname $(readlink -f -n "$0"))"
@@ -245,7 +245,7 @@ fi
# clean unsigned packages
if ${cleanUnsigned} && ${aufRechenknecht}; then
- ssh paule@127.0.0.1 "$(
+ ssh archlinuxewe@eckner.net "$(
printf '
rmPaket() {
if [ "$(basename "$(pwd)")" != "any" ]; then
@@ -695,7 +695,8 @@ if ${aufRechenknecht}; then
sort -u | \
while read -r arch; do
if [ "${paket}" = 'pacman-static' ] && \
- [ "${arch}" = 'i686' ]; then
+ [ "${arch}" = 'i686' ] && \
+ false; then
tar -OxJf "${paket_teile_und_archs[0]#*:}" usr/bin/pacman-static 2>/dev/null > /srv/arch-mirror/sources.archlinux32/sources/pacman-static
gpg --detach-sign -u "${key}" --yes --no-armor /srv/arch-mirror/sources.archlinux32/sources/pacman-static
fi
@@ -714,7 +715,7 @@ if ${aufRechenknecht}; then
printf " %s-${vers}-${arch}.pkg.tar.zst" "${paket_teile[@]}"
printf " %s-${vers}-${arch}.pkg.tar.zst.sig" "${paket_teile[@]}"
) | \
- ssh paule@127.0.0.1 "$(
+ ssh archlinuxewe@eckner.net "$(
printf 'tmp_archive=$(mktemp)\n'
printf 'cat > "${tmp_archive}"\n'
@@ -820,7 +821,7 @@ if ${aufRechenknecht}; then
# check db
if ${upload}; then
- ssh paule@127.0.0.1 "$(
+ ssh archlinuxewe@eckner.net "$(
printf '
err=0