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...).",
|
"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...)."
|
"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/",
|
"url": "https://www.dolibarr.org/",
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
|
|
@ -232,7 +232,7 @@ ynh_store_file_checksum --file="$final_path/htdocs/conf/conf.php"
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Set permissions on app files
|
# Set permissions on app files
|
||||||
chown -R root: "$final_path"
|
chown -R $app: "$final_path"
|
||||||
chmod 644 "$final_path/htdocs/conf/conf.php"
|
chmod 644 "$final_path/htdocs/conf/conf.php"
|
||||||
mkdir -p "$datadir"
|
mkdir -p "$datadir"
|
||||||
chown -R $app: "$datadir"
|
chown -R $app: "$datadir"
|
||||||
|
@ -257,6 +257,8 @@ then
|
||||||
ynh_permission_update --permission "main" --add "visitors"
|
ynh_permission_update --permission "main" --add "visitors"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
ynh_permission_create --permission "public access" --url "/public/" --allowed "visitors"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RELOAD NGINX
|
# RELOAD NGINX
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -106,7 +106,7 @@ ynh_restore_file --origin_path="/etc/logrotate.d/$app"
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Set permissions on app files
|
# Set permissions on app files
|
||||||
chown -R root: "$final_path"
|
chown -R $app: "$final_path"
|
||||||
chmod 644 "$final_path/htdocs/conf/conf.php"
|
chmod 644 "$final_path/htdocs/conf/conf.php"
|
||||||
mkdir -p "$datadir"
|
mkdir -p "$datadir"
|
||||||
chown -R $app: "$datadir"
|
chown -R $app: "$datadir"
|
||||||
|
|
|
@ -215,7 +215,7 @@ ynh_use_logrotate --non-append
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Set permissions on app files
|
# Set permissions on app files
|
||||||
chown -R root: "$final_path"
|
chown -R $app: "$final_path"
|
||||||
chmod 644 "$final_path/htdocs/conf/conf.php"
|
chmod 644 "$final_path/htdocs/conf/conf.php"
|
||||||
mkdir -p "$datadir"
|
mkdir -p "$datadir"
|
||||||
chown -R $app: "$datadir"
|
chown -R $app: "$datadir"
|
||||||
|
@ -233,6 +233,8 @@ then
|
||||||
ynh_app_setting_set --app=$app --key=unprotected_uris --value="/"
|
ynh_app_setting_set --app=$app --key=unprotected_uris --value="/"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
ynh_permission_create --permission "public access" --url "/public/" --allowed "visitors"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RELOAD NGINX
|
# RELOAD NGINX
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue