Browse Source

Check Linux Distro

old-stable
Mitesh Shah 12 years ago
parent
commit
c372ef8e8f
  1. 7
      install.sh

7
install.sh

@ -2,6 +2,13 @@
# Checking Linux Distro
if [ ! -f /etc/lsb-release ]
then
echo -e "\033[31m EasyEngine Is Made For Ubuntu Only As Of Now \e[0m"
echo -e "\033[31m You Are Free To Fork EasyEngine: https://github.com/rtCamp/easyengine/fork \e[0m"
exit 100
fi
# Checking Permissions # Checking Permissions
Permission=$(id -u) Permission=$(id -u)
if [ $Permission -ne 0 ] if [ $Permission -ne 0 ]

Loading…
Cancel
Save