1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Quick hack to check for Fedora 16 and set as Fedora distro.

This commit is contained in:
Colin Bradley 2012-08-17 16:12:24 +01:00
parent 4484c2b03a
commit 44bb1ced6a

View File

@ -90,6 +90,12 @@ if [ $? -eq 0 ]; then
DIST=fedora DIST=fedora
fi fi
# quick hack check for Fedora 16
uname -a | grep --ignore-case fc16
if [ $? -eq 0 ]; then
DIST=fedora
fi
uname -a | grep --ignore-case ubuntu uname -a | grep --ignore-case ubuntu
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
DIST=ubuntu DIST=ubuntu