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:
parent
bb79719ed6
commit
dc3f2bb6a4
1 changed files with 16 additions and 0 deletions
|
@ -6,3 +6,19 @@ access_log_file=/var/log/$app/$app-access.log
|
|||
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
|
Loading…
Add table
Reference in a new issue