mirror of
https://github.com/YunoHost-Apps/abantecart_ynh.git
synced 2024-09-03 18:06:16 +02:00
Update install
This commit is contained in:
parent
bfdf30739f
commit
e5204243fd
1 changed files with 2 additions and 3 deletions
|
@ -10,7 +10,7 @@ is_public=$3
|
||||||
user=$4
|
user=$4
|
||||||
passwd=$5
|
passwd=$5
|
||||||
email=$6
|
email=$6
|
||||||
|
with_mysql="true"
|
||||||
app=$YNH_APP_INSTANCE_NAME
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
|
|
||||||
# Check domain/path availability
|
# Check domain/path availability
|
||||||
|
@ -26,7 +26,6 @@ fi
|
||||||
# Save app settings
|
# Save app settings
|
||||||
user="$app"
|
user="$app"
|
||||||
ynh_app_setting_set "$app" is_public "$is_public"
|
ynh_app_setting_set "$app" is_public "$is_public"
|
||||||
ynh_app_setting_set "$app" with_mysql "$with_mysql"
|
|
||||||
ynh_app_setting_set "$app" password "$passwd"
|
ynh_app_setting_set "$app" password "$passwd"
|
||||||
ynh_app_setting_set "$app" user "$user"
|
ynh_app_setting_set "$app" user "$user"
|
||||||
|
|
||||||
|
@ -66,7 +65,7 @@ sudo php cli_install.php install
|
||||||
--username $user
|
--username $user
|
||||||
--password $passwd
|
--password $passwd
|
||||||
--email $email
|
--email $email
|
||||||
--http_server $domain
|
--http_server $path
|
||||||
|
|
||||||
|
|
||||||
# Files owned by root, www-data can just read
|
# Files owned by root, www-data can just read
|
||||||
|
|
Loading…
Add table
Reference in a new issue