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:
parent
1aec9add66
commit
30d22707b1
4 changed files with 9 additions and 36 deletions
|
@ -11,15 +11,6 @@ source ../settings/scripts/detect_arch
|
|||
source ../settings/scripts/ynh_systemd_action
|
||||
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
|
||||
#=================================================
|
||||
|
|
|
@ -11,15 +11,6 @@ source _common.sh
|
|||
source ynh_systemd_action
|
||||
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
|
||||
#=================================================
|
||||
|
|
|
@ -11,15 +11,6 @@ source ../settings/scripts/detect_arch
|
|||
source ../settings/scripts/ynh_systemd_action
|
||||
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
|
||||
#=================================================
|
||||
|
@ -53,6 +44,15 @@ ynh_webpath_available $domain $path_url \
|
|||
test ! -d $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
|
||||
#=================================================
|
||||
|
|
|
@ -12,15 +12,6 @@ source ynh_systemd_action
|
|||
source ynh_check_app_version_changed
|
||||
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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue