1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/moncycle_ynh.git synced 2024-09-03 19:46:16 +02:00

Update install

This commit is contained in:
Limezy 2023-01-20 23:38:30 +07:00
parent 37ec7d5c87
commit 29c5d1db18

View file

@ -92,7 +92,7 @@ chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path" chown -R $app:www-data "$final_path"
pushd "$final_path" pushd "$final_path"
ynh_exec_warn_less sudo -u $app mv ./www_data/* .. ynh_exec_warn_less sudo -u $app mv ./www_data/* .
ynh_exec_warn_less sudo -u $app ./module/install.sh ynh_exec_warn_less sudo -u $app ./module/install.sh
ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < db/table.sql ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < db/table.sql
ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < db/demo.sql ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < db/demo.sql