mirror of
https://github.com/YunoHost-Apps/phplicensewatcher_ynh.git
synced 2024-09-03 19:56:32 +02:00
Update install
This commit is contained in:
parent
202a2bb31c
commit
36555408d6
1 changed files with 3 additions and 0 deletions
|
@ -125,6 +125,9 @@ chmod 644 "/etc/cron.d/$app"
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||||
|
|
||||||
|
# Import DB
|
||||||
|
ynh_mysql_execute_file_as_root --file="$final_path/database/phplicensewatcher.sql" --database="$db_name"
|
||||||
|
|
||||||
ynh_add_config --template="../conf/sample-config.php" --destination="$final_path/config.php"
|
ynh_add_config --template="../conf/sample-config.php" --destination="$final_path/config.php"
|
||||||
|
|
||||||
chmod 400 "$final_path/config.php"
|
chmod 400 "$final_path/config.php"
|
||||||
|
|
Loading…
Reference in a new issue