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:
parent
f54c3d2591
commit
bebba8ecfc
1 changed files with 1 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue