mirror of
https://github.com/YunoHost-Apps/concrete5_ynh.git
synced 2024-09-03 18:25:54 +02:00
Fix Installation issue
This commit is contained in:
parent
d494293470
commit
1f040a59b5
1 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
o#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC START
|
# GENERIC START
|
||||||
|
@ -185,8 +185,8 @@ sudo php composer-setup.php
|
||||||
sudo php -r "unlink('composer-setup.php');"
|
sudo php -r "unlink('composer-setup.php');"
|
||||||
sudo ./composer.phar install
|
sudo ./composer.phar install
|
||||||
sudo ./concrete/bin/concrete5 c5:install --db-server=localhost \
|
sudo ./concrete/bin/concrete5 c5:install --db-server=localhost \
|
||||||
--db-username=$db_user \
|
--db-username=$db_name \
|
||||||
--db-password=$db_pass \
|
--db-password=$db_pwd \
|
||||||
--db-database=$db_name \
|
--db-database=$db_name \
|
||||||
--site="'$website_title'" \
|
--site="'$website_title'" \
|
||||||
--admin-email="'$admin_email'" \
|
--admin-email="'$admin_email'" \
|
||||||
|
@ -250,7 +250,7 @@ popd
|
||||||
### `ynh_replace_string` is used to replace a string in a file.
|
### `ynh_replace_string` is used to replace a string in a file.
|
||||||
### (It's compatible with sed regular expressions syntax)
|
### (It's compatible with sed regular expressions syntax)
|
||||||
|
|
||||||
ynh_replace_string "match_string" "replace_string" "$final_path/CONFIG_FILE"
|
#ynh_replace_string "match_string" "replace_string" "$final_path/CONFIG_FILE"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STORE THE CONFIG FILE CHECKSUM
|
# STORE THE CONFIG FILE CHECKSUM
|
||||||
|
@ -261,7 +261,7 @@ ynh_replace_string "match_string" "replace_string" "$final_path/CONFIG_FILE"
|
||||||
### you can make a backup of this file before modifying it again if the admin had modified it.
|
### you can make a backup of this file before modifying it again if the admin had modified it.
|
||||||
|
|
||||||
# Calculate and store the config file checksum into the app settings
|
# Calculate and store the config file checksum into the app settings
|
||||||
ynh_store_file_checksum "$final_path/CONFIG_FILE"
|
#ynh_store_file_checksum "$final_path/CONFIG_FILE"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
|
|
Loading…
Add table
Reference in a new issue