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:
parent
ad6dfd3c46
commit
95cac3acb9
1 changed files with 5 additions and 8 deletions
|
@ -114,7 +114,6 @@ ynh_setup_source "$final_path"
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_print_info --message="Import SQL..."
|
ynh_print_info --message="Import SQL..."
|
||||||
#mysql -u root -p phpipam < "$final_path/db/SCHEMA.sql"
|
|
||||||
ynh_mysql_execute_file_as_root --file="$final_path/db/SCHEMA.sql" --database="$db_name"
|
ynh_mysql_execute_file_as_root --file="$final_path/db/SCHEMA.sql" --database="$db_name"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -167,13 +166,11 @@ ynh_replace_string "yunobase" "$db_name" "$final_path/config.php"
|
||||||
### that really need such authorization.
|
### that really need such authorization.
|
||||||
|
|
||||||
# Remove non utile files
|
# Remove non utile files
|
||||||
#pushd "$final_path"
|
ynh_secure_remove $final_path/install
|
||||||
#rm -rf install
|
ynh_secure_remove $final_path/INSTALL.txt
|
||||||
#rm -f INSTALL.txt
|
ynh_secure_remove $final_path/README.md
|
||||||
#rm -f README.md
|
ynh_secure_remove $final_path/.htaccess
|
||||||
#rm -f .htaccess"
|
ynh_secure_remove $final_path/.git*
|
||||||
#rm -rf .git*
|
|
||||||
#popd
|
|
||||||
|
|
||||||
|
|
||||||
# Set permissions to app files
|
# Set permissions to app files
|
||||||
|
|
Loading…
Reference in a new issue