Support newest libjpeg-turbo on Centos
This commit is contained in:
13
builder/scripts/common.sh
Normal file
13
builder/scripts/common.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
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
|
||||
Reference in New Issue
Block a user