mirror of
https://github.com/YunoHost-Apps/gotosocial_ynh.git
synced 2024-09-03 19:16:06 +02:00
adding comments for detect_arch()
This commit is contained in:
parent
3d0154a69f
commit
bbcdf840a5
1 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,8 @@ pkg_dependencies="postgresql postgresql-contrib"
|
|||
# PERSONAL HELPERS
|
||||
#=================================================
|
||||
|
||||
# custom function to detect armv6 and armv7
|
||||
# ($YNH_ARCH returns armhf for both...)
|
||||
detect_arch(){
|
||||
local architecture
|
||||
if [ -n "$(uname -m | grep arm64)" ] || [ -n "$(uname -m | grep aarch64)" ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue