summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-04-04 15:02:31 +0200
committerErich Eckner <git@eckner.net>2016-04-04 15:02:31 +0200
commitd33ab80d268f89277b359a3e54f16f3a372d367c (patch)
treeae41e536a7f6826de6b03ce4ff48aab2bec6967a
parent5f715153b5740291e8808763e883e93f10ac1df1 (diff)
downloadarchlinuxewe-d33ab80d268f89277b359a3e54f16f3a372d367c.tar.xz
remove file upload and typo from archPackagesUpdate
-rwxr-xr-xarchPackagesUpdate2
-rwxr-xr-xupload64
2 files changed, 1 insertions, 65 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index f3171937b..082aa24a1 100755
--- a/archPackagesUpdate
+++ b/archPackagesUpdate
@@ -86,7 +86,7 @@ then
cd "${tmpDir}/${paket}"
rm -f ${paket}-*.pkg.tyr.xz
makepkg -fcsr || exit $?
- ${upload} && scp ${tmpDir}/${paket}/${paket}-*.pkg.tyr.xz paule@127.0.0.1:${pkgDir}/
+ ${upload} && scp ${tmpDir}/${paket}/${paket}-*.pkg.tar.xz paule@127.0.0.1:${pkgDir}/
done
# upload packages
diff --git a/upload b/upload
deleted file mode 100755
index f01399353..000000000
--- a/upload
+++ /dev/null
@@ -1,64 +0,0 @@
-#!/bin/bash
-
-cd $(dirname $0)
-
-err=false
-
-for paket in */PKGBUILD
-do
- . $paket
-
- echo "${source}" | \
- grep -q "opensources\.eckner\.net" || \
- continue
-
- remSum="$(curl -o - "${source#*::}&post=sha256sum" 2> /dev/null)"
- if [ ! "${remSum}" == "${sha256sums}" ]
- then
- echo "sha256sum von ${pkgname} stimmt nicht: ${remSum} vs. ${sha256sums}."
- err=true
- fi
-done
-
-${err} && exit 1
-
-pakete="$( \
- for paket in $( \
- echo */PKGBUILD | \
- sed "s|/PKGBUILD||g" \
- )
- do
- ls ${paket}/${paket}*.pkg.tar.xz | \
- sort -V | \
- tail -n1
- done
- )"
-
-scp ${pakete} paule@jeti100:/srv/arch-mirror/arch/arch/archlinuxewe/os/x86_64/
-
-ssh paule@jeti100 \
-'\
- cd /srv/arch-mirror/arch/arch/archlinuxewe/os/x86_64/
- for paket in $( \
- ls *.pkg.tar.xz | \
- sed "s|\(-[^-]*\)\{3\}\$||" | \
- uniq \
- )
- do
- alles="$(ls ${paket}*.pkg.tar.xz)"
- anz="$(echo "${alles}" | wc -l)"
- for version in $( \
- echo "${alles}" | \
- sed "s|^.*-\([^-]*-[^-]*\)-[^-]*\$|\1|" | \
- sort -V | \
- head -n$[${anz}-1] \
- )
- do
- rm ${paket}-${version}-*.pkg.tar.xz
- done
- done
-
- repo-add \
- /srv/arch-mirror/arch/arch/archlinuxewe/os/x86_64/archlinuxewe.db.tar.gz \
- /srv/arch-mirror/arch/arch/archlinuxewe/os/x86_64/*.pkg.tar.xz
-'