Treat linuxmint the same as ubuntu. fixes #6591 (#6592)

* Treat linuxmint the same as ubuntu. fixes #6591

* Merge branch 'SoftFever:main' into buildlinuxmint
This commit is contained in:
George Peden 2024-09-03 07:58:54 -07:00 committed by GitHub
parent a1e2267fdf
commit 328f74ed81
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -80,7 +80,7 @@ fi
DISTRIBUTION=$(awk -F= '/^ID=/ {print $2}' /etc/os-release)
# treat ubuntu as debian
if [ "${DISTRIBUTION}" == "ubuntu" ]
if [ "${DISTRIBUTION}" == "ubuntu" ] || [ "${DISTRIBUTION}" == "linuxmint" ]
then
DISTRIBUTION="debian"
fi