Commit 0f328c94436c157883fa31a770c1e1a8b228a852

Authored by Alexis Gavoty
1 parent 28bf2ba9ed
Exists in master

Update install

Showing 1 changed file with 4 additions and 2 deletions Side-by-side Diff

... ... @@ -45,8 +45,10 @@ sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/owncloud.conf
45 45 sudo cp ../conf/php-fpm.conf /etc/php5/fpm/pool.d/owncloud.conf
46 46 sudo cp ../conf/php-fpm.ini /etc/php5/fpm/conf.d/20-owncloud.ini
47 47 sudo cp ../conf/mount.json $data_path
48   -sudo chown -hR owncloud:www-data $final_path $data_path
49   -sudo chmod -R 775 $final_path $data_path
  48 +sudo chown -hR owncloud:www-data $final_path
  49 +sudo chown -hR owncloud:www-data $data_path
  50 +sudo chmod -R 775 $final_path
  51 +sudo chmod -R 775 $data_path
50 52  
51 53 # Change variables in Owncloud configuration
52 54 sudo sed -i "s@PATHTOCHANGE@$path@g" /etc/nginx/conf.d/$domain.d/owncloud.conf