1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/castopod_ynh.git synced 2024-09-03 18:16:14 +02:00

Update upgrade

This commit is contained in:
Éric Gaspar 2023-10-23 23:30:46 +02:00
parent f54c3d2591
commit bebba8ecfc

View file

@ -72,17 +72,10 @@ ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app"
chown root: "/etc/cron.d/$app"
chmod 644 "/etc/cron.d/$app"
#=================================================
# CONFIGURE CASTOPOD DATABASE
#=================================================
ynh_script_progression --message="Configuring Castopod database..." --weight=1
ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < "../conf/v1.5.2.sql"
#=================================================
# ADD CONFIGURE
#=================================================
ynh_script_progression --message="Configuring Castopod..." --weight=1
ynh_script_progression --message="Configuring $app..." --weight=1
ynh_add_config --template="../conf/.env.example" --destination="$install_dir/.env"
chmod 600 $install_dir/.env