mirror of
https://github.com/YunoHost-Apps/dolibarr_ynh.git
synced 2024-09-03 18:35:53 +02:00
commit
070c97a1ce
4 changed files with 8 additions and 4 deletions
|
@ -6,7 +6,7 @@
|
|||
"en": "Manage the various aspects of your business or association (contacts, invoices, orders, stocks, agenda, etc...).",
|
||||
"fr": "Gérez les différents aspects de votre activité pro ou associative (contacts, factures, commandes, stocks, agenda, etc...)."
|
||||
},
|
||||
"version": "12.0.3~ynh1",
|
||||
"version": "12.0.3~ynh2",
|
||||
"url": "https://www.dolibarr.org/",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"maintainer": {
|
||||
|
|
|
@ -232,7 +232,7 @@ ynh_store_file_checksum --file="$final_path/htdocs/conf/conf.php"
|
|||
#=================================================
|
||||
|
||||
# Set permissions on app files
|
||||
chown -R root: "$final_path"
|
||||
chown -R $app: "$final_path"
|
||||
chmod 644 "$final_path/htdocs/conf/conf.php"
|
||||
mkdir -p "$datadir"
|
||||
chown -R $app: "$datadir"
|
||||
|
@ -257,6 +257,8 @@ then
|
|||
ynh_permission_update --permission "main" --add "visitors"
|
||||
fi
|
||||
|
||||
ynh_permission_create --permission "public access" --url "/public/" --allowed "visitors"
|
||||
|
||||
#=================================================
|
||||
# RELOAD NGINX
|
||||
#=================================================
|
||||
|
|
|
@ -106,7 +106,7 @@ ynh_restore_file --origin_path="/etc/logrotate.d/$app"
|
|||
#=================================================
|
||||
|
||||
# Set permissions on app files
|
||||
chown -R root: "$final_path"
|
||||
chown -R $app: "$final_path"
|
||||
chmod 644 "$final_path/htdocs/conf/conf.php"
|
||||
mkdir -p "$datadir"
|
||||
chown -R $app: "$datadir"
|
||||
|
|
|
@ -215,7 +215,7 @@ ynh_use_logrotate --non-append
|
|||
#=================================================
|
||||
|
||||
# Set permissions on app files
|
||||
chown -R root: "$final_path"
|
||||
chown -R $app: "$final_path"
|
||||
chmod 644 "$final_path/htdocs/conf/conf.php"
|
||||
mkdir -p "$datadir"
|
||||
chown -R $app: "$datadir"
|
||||
|
@ -233,6 +233,8 @@ then
|
|||
ynh_app_setting_set --app=$app --key=unprotected_uris --value="/"
|
||||
fi
|
||||
|
||||
ynh_permission_create --permission "public access" --url "/public/" --allowed "visitors"
|
||||
|
||||
#=================================================
|
||||
# RELOAD NGINX
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue