1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phpipam_ynh.git synced 2024-09-03 19:56:39 +02:00

Update install

This commit is contained in:
Éric Gaspar 2023-05-22 18:04:25 +02:00
parent c8726f51ff
commit 7151f24661

View file

@ -41,6 +41,13 @@ ynh_add_config --template="../conf/config.dist.php" --destination="$install_dir/
chmod 644 "$install_dir/config.php" chmod 644 "$install_dir/config.php"
chown $app: "$install_dir/config.php" chown $app: "$install_dir/config.php"
#=================================================
# DATABASE CONFIGURATION
#=================================================
ynh_script_progression --message="Adding database configuration..." --weight=1
ynh_mysql_connect_as --user="user" --password="pass" < $install_dir/db/SCHEMA.sql
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION
#================================================= #=================================================