[TOOLS] Fix bootstrap and pre-commit scripts
This commit is contained in:
parent
4d92915846
commit
0eb0d21007
|
@ -4,13 +4,13 @@ printf "Domain root: "
|
||||||
read -r domain_root
|
read -r domain_root
|
||||||
printf "Subdomain (can be empty): "
|
printf "Subdomain (can be empty): "
|
||||||
read -r sub_domain
|
read -r sub_domain
|
||||||
read -r signed
|
|
||||||
printf "Use certificate signed by Let's Encrypt (Y/n): "
|
printf "Use certificate signed by Let's Encrypt (Y/n): "
|
||||||
|
read -r signed
|
||||||
|
|
||||||
[ "${signed}" = "${signed#[Yy]}" ]
|
[ "${signed}" = "${signed#[Yy]}" ]
|
||||||
signed=$?
|
signed=$?
|
||||||
|
|
||||||
if [ $signed ]; then
|
if [ $signed -ne 0 ]; then
|
||||||
printf "Email: "
|
printf "Email: "
|
||||||
read -r email
|
read -r email
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -78,7 +78,7 @@
|
||||||
},
|
},
|
||||||
"post-install-cmd": [
|
"post-install-cmd": [
|
||||||
"@auto-scripts",
|
"@auto-scripts",
|
||||||
"cp -n bin/pre-commit .git/hooks"
|
"cp -fu bin/pre-commit .git/hooks"
|
||||||
],
|
],
|
||||||
"post-update-cmd": [
|
"post-update-cmd": [
|
||||||
"@auto-scripts"
|
"@auto-scripts"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user