mirror of
https://github.com/YunoHost-Apps/spacedeck_ynh.git
synced 2024-09-03 20:26:14 +02:00
Merge pull request #7 from YunoHost-Apps/testing
Prevent installations on ARM and ARM64
This commit is contained in:
commit
735d653452
4 changed files with 8 additions and 0 deletions
|
@ -28,6 +28,7 @@ A web based, real time, collaborative whiteboard application with rich media sup
|
||||||
|
|
||||||
## Disclaimers / important information
|
## Disclaimers / important information
|
||||||
|
|
||||||
|
* ARM and ARM64 architectures are not supported
|
||||||
* The app can only be installed at the root of a domain
|
* The app can only be installed at the root of a domain
|
||||||
* There is no integration with YunoHost SSO
|
* There is no integration with YunoHost SSO
|
||||||
* A email is send at the end of the installation with the Beta Invite Code
|
* A email is send at the end of the installation with the Beta Invite Code
|
||||||
|
|
|
@ -24,6 +24,7 @@ A web based, real time, collaborative whiteboard application with rich media sup
|
||||||
|
|
||||||
## Avertissements / informations importantes
|
## Avertissements / informations importantes
|
||||||
|
|
||||||
|
* ARM and ARM64 architectures are not supported
|
||||||
* The app can only be installed at the root of a domain
|
* The app can only be installed at the root of a domain
|
||||||
* There is no integration with YunoHost SSO
|
* There is no integration with YunoHost SSO
|
||||||
* A email is send at the end of the installation with the Beta Invite Code
|
* A email is send at the end of the installation with the Beta Invite Code
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
* ARM and ARM64 architectures are not supported
|
||||||
* The app can only be installed at the root of a domain
|
* The app can only be installed at the root of a domain
|
||||||
* There is no integration with YunoHost SSO
|
* There is no integration with YunoHost SSO
|
||||||
* A email is send at the end of the installation with the Beta Invite Code
|
* A email is send at the end of the installation with the Beta Invite Code
|
||||||
|
|
|
@ -35,6 +35,11 @@ app=$YNH_APP_INSTANCE_NAME
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Validating installation parameters..." --weight=1
|
ynh_script_progression --message="Validating installation parameters..." --weight=1
|
||||||
|
|
||||||
|
if [[ $YNH_ARCH =~ ^arm ]] || [ $YNH_ARCH == "aarch64" ]
|
||||||
|
then
|
||||||
|
ynh_die --message="Sorry, this app cannot be installed on ARM and ARM64 architectures."
|
||||||
|
fi
|
||||||
|
|
||||||
final_path=/var/www/$app
|
final_path=/var/www/$app
|
||||||
test ! -e "$final_path" || ynh_die --message="This path already contains a folder"
|
test ! -e "$final_path" || ynh_die --message="This path already contains a folder"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue