1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/writefreely_ynh.git synced 2024-09-03 20:36:02 +02:00

Move or remove arm detection

This commit is contained in:
yalh76 2019-03-15 19:45:51 +01:00
parent 1aec9add66
commit 30d22707b1
4 changed files with 9 additions and 36 deletions

View file

@ -11,15 +11,6 @@ source ../settings/scripts/detect_arch
source ../settings/scripts/ynh_systemd_action source ../settings/scripts/ynh_systemd_action
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
#=================================================
# MANAGE APPLICATION NOT COMPATIBLE WITH ARM
#=================================================
if [ $architecture = "arm" ]
then
ynh_die "WriteFreely not available on Arm"
fi
#================================================= #=================================================
# MANAGE SCRIPT FAILURE # MANAGE SCRIPT FAILURE
#================================================= #=================================================

View file

@ -11,15 +11,6 @@ source _common.sh
source ynh_systemd_action source ynh_systemd_action
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
#=================================================
# MANAGE APPLICATION NOT COMPATIBLE WITH ARM
#=================================================
if [ $architecture = "arm" ]
then
ynh_die "WriteFreely not available on Arm"
fi
#================================================= #=================================================
# LOAD SETTINGS # LOAD SETTINGS
#================================================= #=================================================

View file

@ -11,15 +11,6 @@ source ../settings/scripts/detect_arch
source ../settings/scripts/ynh_systemd_action source ../settings/scripts/ynh_systemd_action
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
#=================================================
# MANAGE APPLICATION NOT COMPATIBLE WITH ARM
#=================================================
if [ $architecture = "arm" ]
then
ynh_die "WriteFreely not available on Arm"
fi
#================================================= #=================================================
# MANAGE SCRIPT FAILURE # MANAGE SCRIPT FAILURE
#================================================= #=================================================
@ -53,6 +44,15 @@ ynh_webpath_available $domain $path_url \
test ! -d $final_path \ test ! -d $final_path \
|| ynh_die "There is already a directory: $final_path " || ynh_die "There is already a directory: $final_path "
#=================================================
# MANAGE APPLICATION NOT COMPATIBLE WITH ARM
#=================================================
if [ $architecture = "arm" ]
then
ynh_die "WriteFreely not available on Arm"
fi
#================================================= #=================================================
# STANDARD RESTORATION STEPS # STANDARD RESTORATION STEPS
#================================================= #=================================================

View file

@ -12,15 +12,6 @@ source ynh_systemd_action
source ynh_check_app_version_changed source ynh_check_app_version_changed
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
#=================================================
# MANAGE APPLICATION NOT COMPATIBLE WITH ARM
#=================================================
if [ $architecture = "arm" ]
then
ynh_die "WriteFreely not available on Arm"
fi
#================================================= #=================================================
# LOAD SETTINGS # LOAD SETTINGS
#================================================= #=================================================