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
2022-02-06 17:34:11 +01:00

30 lines
916 B
Bash

#!/bin/bash
#=================================================
# COMMON VARIABLES
#=================================================
version="2.28.0"
architecture=""
case $(uname -m) in
i386) architecture="386" ;;
x86_64) architecture="amd64" ;;
armv5) architecture="armv5" ;;
armv6) architecture="armv6" ;;
armv7) architecture="armv7" ;;
armv7l) architecture="armv7" ;;
aarch64) architecture="arm64" ;;
*) ynh_die --message="Sorry, your architecture $YNH_ARCH is not supported." ;;
esac
#=================================================
# PERSONAL HELPERS
#=================================================
#=================================================
# EXPERIMENTAL HELPERS
#=================================================
#=================================================
# FUTURE OFFICIAL HELPERS
#=================================================