mirror of
https://github.com/YunoHost-Apps/codimd_ynh.git
synced 2024-09-03 18:16:32 +02:00
Update install
This commit is contained in:
parent
bb6f5d6581
commit
5ec29f81fd
1 changed files with 6 additions and 0 deletions
|
@ -34,6 +34,12 @@ app=$YNH_APP_INSTANCE_NAME
|
|||
#=================================================
|
||||
ynh_script_progression --message="Validating installation parameters..." --weight=1
|
||||
|
||||
# Stop if architecture is ARM
|
||||
case $YNH_ARCH in
|
||||
arm*|armhf) ynh_die --message="Sorry, your architecture $YNH_ARCH is not supported by CodiMD. Aborting.";;
|
||||
*) ;;
|
||||
esac
|
||||
|
||||
final_path=/var/www/$app
|
||||
test ! -e "$final_path" || ynh_die --message="This path already contains a folder"
|
||||
|
||||
|
|
Loading…
Reference in a new issue