We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a11e911 commit 0726de1Copy full SHA for 0726de1
setup.sh
@@ -148,14 +148,12 @@ case $git in [yY]* )
148
chgrp $owner /var/www/$folder
149
;;
150
esac
151
- ;;
152
touch /var/www/$folder/$folder.git/hooks/post-receive
153
echo "git --work-tree=/var/www/$name/content --git-dir=/var/www/$name/$name.git checkout -f master" > /var/www/$folder/$folder.git/hooks/post-receive
154
chmod +x /var/www/$folder/$folder.git/hooks/post-receive
155
-
156
+ rm $content_location/index.html
+;;
157
158
159
160
systemctl restart nginx
161
echo 'All done!'
0 commit comments