diff options
Diffstat (limited to 'README')
-rwxr-xr-x | README | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -36,7 +36,10 @@ fi # # ################ -pacman-key --add <(curl -o - "https://arch.eckner.net/archlinuxewe/masterkeys.gpg") +tmpFile="$(mktemp)" +curl -o "${tmpFile}" "https://arch.eckner.net/archlinuxewe/masterkeys.gpg" +pacman-key --add "${tmpFile}" +rm -f "${tmpFile}" ############################ # # @@ -81,7 +84,7 @@ fi if grep -q "^\[archlinuxewe\]\$" /etc/pacman.conf then - tmpFile=$(mktemp) + tmpFile="$(mktemp)" cat /etc/pacman.conf | \ ( while read s @@ -97,5 +100,5 @@ then done ) > "${tmpFile}" cat "${tmpFile}" > /etc/pacman.conf - rm "${tmpFile}" + rm -f "${tmpFile}" fi |