Alpine and Oracle 9 build fixes

This commit is contained in:
mattmcclaskey
2023-03-13 15:57:24 -04:00
parent ec347f5b46
commit ba399efc3f
3 changed files with 14 additions and 6 deletions

View File

@@ -9,6 +9,8 @@ detect_distro() {
DISTRO=fedora
elif [ -f /usr/bin/zypper ]; then
DISTRO=opensuse
elif [ -f /etc/alpine-release ]; then
DISTRO=alpine
else
DISTRO=debian
fi
@@ -22,6 +24,7 @@ install_packages() {
oracle) install_cmd="dnf install -y" ;;
fedora) install_cmd="dnf install -y" ;;
opensuse) install_cmd="zypper install -y" ;;
alpine) install_cmd="apk add" ;;
*) install_cmd="apt-get update && apt-get install -y"
esac