1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/calibreweb_ynh.git synced 2024-09-03 18:16:20 +02:00

fix mach = uname -m

This commit is contained in:
Krakinou 2023-07-26 08:10:14 +02:00
parent bb79719ed6
commit dc3f2bb6a4

View file

@ -6,3 +6,19 @@ access_log_file=/var/log/$app/$app-access.log
mach=`uname -m` mach=`uname -m`
case "$mach" in
"armv6l" ) mach="arm"
;;
"armv7l" ) mach="arm"
;;
"armv8l" ) mach="arm64"
;;
"aarch64" ) mach="arm64"
;;
"x86_64" ) mach="64bit"
;;
* ) mach="32bit"
;;
esac