KasmVNC/builder/scripts/common.sh
2023-01-19 01:35:36 +13:00

14 lines
236 B
Bash

detect_distro() {
if [ -f /etc/centos-release ]; then
DISTRO=centos
elif [ -f /etc/oracle-release ]; then
DISTRO=oracle7
elif [ -f /usr/bin/zypper ]; then
DISTRO=opensuse
else
DISTRO=debian
fi
}
detect_distro