summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xREADME9
1 files changed, 6 insertions, 3 deletions
diff --git a/README b/README
index ed8c7a4..9c18643 100755
--- a/README
+++ b/README
@@ -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