diff options
-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 |