1
0
Fork 0

Remove .pacnew if it exists

This commit is contained in:
Tom Willemse 2014-04-06 11:10:40 +02:00
parent 267ff3443c
commit bb87e64082

View file

@ -52,3 +52,8 @@ fi
# Download, ready, output # Download, ready, output
curl -s "$(make-url)" | sed 's/^#\([^#].*\)/\1/' > "$dest" curl -s "$(make-url)" | sed 's/^#\([^#].*\)/\1/' > "$dest"
echo "Saved in ${dest}" echo "Saved in ${dest}"
if [[ -f "${dest}.pacnew" ]]; then
rm "${dest}.pacnew"
echo "Removed ${dest}.pacnew"
fi