1
0
Fork 0
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:
OniriCorpe 2022-03-15 22:53:56 +01:00
parent 3d0154a69f
commit bbcdf840a5

View file

@ -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