1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

Nextcloud has deprecated 32-bit

This commit is contained in:
Éric Gaspar 2022-11-03 21:57:10 +01:00
parent 1ea991b7dd
commit 27877aa5b3
2 changed files with 12 additions and 0 deletions

View file

@ -40,6 +40,12 @@ test ! -e "$final_path" || ynh_die --message="This path already contains a folde
# Register (book) web path
ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url
# Check machine architecture (Seens 25.0 Nextcloud doesn't support 32bit machines)
if [ $YNH_ARCH == "i386" ];
then
ynh_die --message="Sorry, Nextcloud has deprecated 32-bit support"
fi
#=================================================
# STORE SETTINGS FROM MANIFEST
#=================================================

View file

@ -34,6 +34,12 @@ fpm_usage=$(ynh_app_setting_get --app=$app --key=fpm_usage)
upgrade_type=$(ynh_check_app_version_changed)
# Check machine architecture (Seens 25.0 Nextcloud doesn't support 32bit machines)
if [ $YNH_ARCH == "i386" ];
then
ynh_die --message="Sorry, Nextcloud has deprecated 32-bit support"
fi
#=================================================
# ENSURE DOWNWARD COMPATIBILITY
#=================================================