Skip to content

Commit c0d1016

Browse files
committed
updated to not error & exit if file does not exist
1 parent 1b9a950 commit c0d1016

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

update.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ do
6969
# Ensure branchpath mtime is up-to-date
7070
touch ${branchpath}/.gitignore
7171
# Delete TLS/SSL config so that it is regenerated by certbot
72-
rm "/etc/apache2/sites-enabled/${branchid}-le-ssl.conf"
72+
rm -f "/etc/apache2/sites-enabled/${branchid}-le-ssl.conf"
7373
cp "${resourcedir}/default" \
7474
"/etc/apache2/sites-enabled/${branchid}.conf"
7575
perl -p -i -e "s/MAGICALPONY/${branchid}/g" \

0 commit comments

Comments
 (0)