1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/opensondage_ynh.git synced 2024-09-03 19:46:28 +02:00
This commit is contained in:
Éric Gaspar 2023-11-30 09:11:58 +01:00
parent 0e3118c090
commit e43729a345
3 changed files with 1 additions and 17 deletions

View file

@ -64,7 +64,6 @@ ram.runtime = "50M"
[resources.permissions]
main.url = "/"
main.additional_urls = ["/adminstuds.php"]
[resources.apt]
packages = "mariadb-server, php8.0-mbstring, php8.0-intl, php8.0-xml, php8.0-cli"

View file

@ -50,14 +50,6 @@ ynh_add_config --template="config.php" --destination="$install_dir/app/inc/confi
chmod 400 "$install_dir/app/inc/config.php"
chown $app:$app "$install_dir/app/inc/config.php"
#=================================================
# SETUP HOOKS FILE
#=================================================
ynh_script_progression --message="Setuping hooks file..."
ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="../hooks/post_app_addaccess"
ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="../hooks/post_app_removeaccess"
#=================================================
# REPLACE LOGO IMAGE (DEFAULT IS FRAMADATE)
#=================================================

View file

@ -31,7 +31,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=2
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir"
ynh_setup_source --dest_dir="$install_dir" --keep="app/inc/config.php"
fi
chmod -R o-rwx "$install_dir"
@ -63,13 +63,6 @@ then
chown $app:$app "$install_dir/app/inc/config.php"
fi
#=================================================
# SETUP HOOKS FILE
#=================================================
ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="../hooks/post_app_addaccess"
ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="../hooks/post_app_removeaccess"
#=================================================
# REPLACE LOGO IMAGE (DEFAULT IS FRAMADATE)
#=================================================