mirror of
https://github.com/YunoHost-Apps/lufi_ynh.git
synced 2024-09-03 19:36:28 +02:00
Fix permissions
This commit is contained in:
parent
57c3245a64
commit
99cd96e774
2 changed files with 3 additions and 4 deletions
|
@ -146,7 +146,8 @@ ynh_store_file_checksum --file="$config"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Reconfigure SSOwat"
|
||||
|
||||
ynh_app_setting_set $app unprotected_uris "/"
|
||||
ynh_permission_update --permission="main" --add="visitors"
|
||||
|
||||
if [ $is_public -eq 0 ]
|
||||
then
|
||||
if [ "$path_url" == "/" ]; then
|
||||
|
|
|
@ -199,9 +199,7 @@ popd
|
|||
#=================================================
|
||||
ynh_script_progression --message="Setuping cron..."
|
||||
|
||||
cp ../conf/cron_lufi /etc/cron.d/$app
|
||||
ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path/" --target_file="/etc/cron.d/$app"
|
||||
ynh_replace_string --match_string="__USER__" --replace_string="$app" --target_file="/etc/cron.d/$app"
|
||||
ynh_add_config --template="../conf/cron_lufi" --destination="/etc/cron.d/$app"
|
||||
chmod +x $final_path/script/lufi
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue