Sfoglia il codice sorgente

fixed gitbarrerepos bug

bach 10 mesi fa
parent
commit
692584ff8a
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      bin/gitbarrerepos.sh

+ 2 - 2
bin/gitbarrerepos.sh

@@ -111,12 +111,12 @@ if [ "$vh" = "yes" ]; then
   chmod +x post-receive # pre-receive
 
   # setup git repo on site folder
-  cd /home/"$user"/www/"$_domain"/app
+  cd /home/"$user"/www/"$_domain"/public_html
   git init
   # link to the bare repo
   git remote add origin /home/"$user"/git-repositories/"$_domain".git
 
-  chown -R "$user":"$user" /home/"$user"/www/"$_domain"/app
+  chown -R "$user":"$user" /home/"$user"/www/"$_domain"/public_html
 
   cd "$_cwd"
   # done