diff options
author | Erich Eckner <git@eckner.net> | 2019-07-01 09:54:58 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-07-01 09:54:58 +0200 |
commit | 739333583691289416682861766d0310089f1303 (patch) | |
tree | 31d0ad1be74de21c294539adf28220cbd63afcfa | |
parent | 0174e0314c3d146d4dfaeff5ada3b1fff28a1ceb (diff) | |
download | update-all-739333583691289416682861766d0310089f1303.tar.xz |
update-me: remove dirty hack
-rw-r--r-- | update-me.in | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/update-me.in b/update-me.in index dd01965..5c7c5ea 100644 --- a/update-me.in +++ b/update-me.in @@ -8,31 +8,6 @@ if which check-kernel >/dev/null 2>&1; then postCmds+=('check-kernel -r') fi -if [ -d '#ETCDIR#/pacman.d' ]; then - postCmds=( - 'fix-pacman-gpg-keyserver-conf' - "${postCmds[@]}" - ) - fix-pacman-gpg-keyserver-conf() { - for gpg_conf in \ - '#ETCDIR#/pacman.d/gnupg/gpg.conf' \ - '/var/lib/archbuild'/*-build/*/'#ETCDIR#/pacman.d/gnupg/gpg.conf'; do - [ -f "${gpg_conf}" ] || continue - sed -i ' - \@^keyserver hkp://pool\.sks-keyservers\.net$@ { - w /dev/stderr - s@^.*$@keyserver hkp://keys.gnupg.net@ - } - ' "${gpg_conf}" 2>&1 | \ - sed ' - s/^/"/ - s@$@" -> "keyserver hkp://keys.gnupg.net"@ - 1 i modified '"${gpg_conf}"': - ' - done - } -fi - . #ETCDIR#/update-me.conf if "${hasSudo}"; then |