diff --git a/scripts/install b/scripts/install index 7a3710e..5f2dca3 100755 --- a/scripts/install +++ b/scripts/install @@ -66,7 +66,7 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Creating a data directory..." -mkdir -p $data_dir/{compiles, output, cache} +mkdir -p $data_dir/{compiles,output,cache} chmod 750 "$data_dir" chmod -R o-rwx "$data_dir" @@ -113,7 +113,6 @@ sed -iE "s%'-synctex=1',%'-synctex=1', '-shell-escape',%g" $install_dir/live/ser cp "$install_dir/build_ldap/ldap-overleaf-sl/sharelatex/settings.pug" "$install_dir/live/services/web/app/views/user/settings.pug" cp "$install_dir/build_ldap/ldap-overleaf-sl/sharelatex/navbar.pug" "$install_dir/live/services/web/app/views/layout/navbar.pug" cp "$install_dir/build_ldap/ldap-overleaf-sl/sharelatex/admin-sysadmin.pug" "$install_dir/live/services/web/app/views/admin/index.pug" -ynh_secure_remove --file="$install_dir/live/services/web/app/views/project/editor/review-panel.pug" touch "$install_dir/live/services/web/app/views/project/editor/review-panel.pug" ynh_secure_remove --file="$install_dir/build"