From 4222317f7c06c1e84ea2d0fc46e338d2b0401420 Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Mon, 30 Sep 2013 14:08:19 +0530 Subject: [PATCH] Add EasyEngine Version --- usr/local/sbin/easyengine | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/usr/local/sbin/easyengine b/usr/local/sbin/easyengine index ffc117e4..c59dfcc2 100755 --- a/usr/local/sbin/easyengine +++ b/usr/local/sbin/easyengine @@ -2,7 +2,6 @@ -# EE (EasyEngine) Version: V1.0.0 # Make Variables Available For Later Use LOGDIR=/var/log/easyengine ERRORLOG=/var/log/easyengine/error.log @@ -913,8 +912,16 @@ REMOVENGINXCONF() } +# Easy Engine Version +if [ "$1" = "-v" ] || [ "$1" = "--version" ] +then + + # Display Easy Engine Version + echo "easyengine version: 1.0.0" + + # Easy Engine Help -if [ "$1" = "help" ] || [ "$1" = "--help" ] +elif [ "$1" = "help" ] || [ "$1" = "--help" ] then # Display Man Pages