mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
Movim doesn't support a subpath anymore
This commit is contained in:
parent
960df18a3c
commit
861118e378
2 changed files with 4 additions and 4 deletions
|
@ -35,10 +35,6 @@ ram.runtime = "50M"
|
||||||
[install.domain]
|
[install.domain]
|
||||||
type = "domain"
|
type = "domain"
|
||||||
|
|
||||||
[install.path]
|
|
||||||
type = "path"
|
|
||||||
default = "/movim"
|
|
||||||
|
|
||||||
[install.init_main_permission]
|
[install.init_main_permission]
|
||||||
type = "group"
|
type = "group"
|
||||||
default = "visitors"
|
default = "visitors"
|
||||||
|
|
|
@ -41,6 +41,10 @@ if [ -f "$install_dir/config/db.inc.php" ]; then
|
||||||
ynh_secure_remove --file="$install_dir/config/db.inc.php"
|
ynh_secure_remove --file="$install_dir/config/db.inc.php"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -n "${path:-}" ]] && [[ "${path:-}" != "/" ]]; then
|
||||||
|
ynh_die --message="Movim can't be installed in a subdir anymore. Please change_url to the root of a domain before upgrading."
|
||||||
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue