mirror of
https://github.com/YunoHost-Apps/prometheus_ynh.git
synced 2024-09-03 20:16:01 +02:00
28 lines
865 B
Bash
28 lines
865 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" ;;
|
|
arm) dpkg --print-architecture | grep -q "arm64" && architecture="arm64" || architecture="unsupported arm" ;;
|
|
esac
|
|
|
|
#=================================================
|
|
# PERSONAL HELPERS
|
|
#=================================================
|
|
|
|
#=================================================
|
|
# EXPERIMENTAL HELPERS
|
|
#=================================================
|
|
|
|
#=================================================
|
|
# FUTURE OFFICIAL HELPERS
|
|
#=================================================
|