1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/prometheus_ynh.git synced 2024-09-03 20:16:01 +02:00
prometheus_ynh/scripts/_common.sh
2021-06-23 22:40:37 +02:00

28 lines
865 B
Bash

#!/bin/bash
#=================================================
# COMMON VARIABLES
#=================================================
version="2.27.1"
architecture=""
case $(uname -m) in
i386) architecture="386" ;;
x86_64) architecture="amd64" ;;
armv5) architecture="armv5" ;;
armv6) architecture="armv6" ;;
armv7) architecture="armv7" ;;
arm) dpkg --print-architecture | grep -q "arm64" && architecture="arm64" || architecture="unsupported arm" ;;
esac
#=================================================
# PERSONAL HELPERS
#=================================================
#=================================================
# EXPERIMENTAL HELPERS
#=================================================
#=================================================
# FUTURE OFFICIAL HELPERS
#=================================================