We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8b2cdf commit b306058Copy full SHA for b306058
update.sh
@@ -53,7 +53,9 @@ do
53
git checkout -f "${branchname}"
54
mkdir -p "${branchpath}"
55
git archive "${branchname}" \
56
- | tar -xC "$branchpath"
+ | tar -xC "${branchpath}"
57
+ # Ensure branchpath mtime is up-to-date
58
+ touch ${branchpath}/.gitignore
59
cp "${resourcedir}/default" \
60
"/etc/apache2/sites-enabled/${branchid}.conf"
61
perl -p -i -e "s/MAGICALPONY/${branchid}/g" \
@@ -72,7 +74,11 @@ done
72
74
popd
73
75
echo
76
-echo '# cerbot'
77
+echo '# cerbotargs:'
78
+echo "${certbotargs}"
79
+echo
80
+echo '# run cerbot'
81
82
# Get any new certificates, incorporate old one, refresh expiring, install any
83
# new http->https redirects, and do so automatically.
84
if /usr/bin/certbot --authenticator webroot --installer apache \
0 commit comments