mirror of
https://github.com/YunoHost-Apps/onlyoffice_ynh.git
synced 2024-09-03 19:56:11 +02:00
Fix architecture test
Fix architecture test to disallow installation on arm64 arch
This commit is contained in:
parent
74da7d9ae5
commit
30b60b9867
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ ynh_script_progression --message="Validating installation parameters..."
|
||||||
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"
|
||||||
|
|
||||||
if dpkg-architecture --is armhf
|
if dpkg-architecture --is armhf || dpkg-architecture --is arm64
|
||||||
then
|
then
|
||||||
ynh_die --message="Sorry, this app can not be installed on an ARM architecture"
|
ynh_die --message="Sorry, this app can not be installed on an ARM architecture"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue