mirror of
https://github.com/YunoHost-Apps/tube_ynh.git
synced 2024-09-04 01:46:11 +02:00
Update install
This commit is contained in:
parent
9a883f8d47
commit
5035bde870
1 changed files with 6 additions and 0 deletions
|
@ -42,6 +42,12 @@ copyright_text="Copyright Text"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Validating installation parameters..." --weight=1
|
||||
|
||||
# Check machine architecture (in particular, we don't support ARM and 32bit machines)
|
||||
if [ $YNH_ARCH != "amd64" ] && [ $YNH_ARCH != "aarch64" ] && [ $YNH_ARCH != "arm64" ]
|
||||
then
|
||||
ynh_die --message="Sorry, but this app can only be installed on a 64 bits machine :("
|
||||
fi
|
||||
|
||||
final_path=/var/www/$app
|
||||
test ! -e "$final_path" || ynh_die --message="This path already contains a folder"
|
||||
|
||||
|
|
Loading…
Reference in a new issue