1
0
mirror of https://github.com/QSCTech/zjunet.git synced 2026-01-22 19:54:48 +08:00

Update for a mistake

This commit is contained in:
Senorsen 2015-06-28 20:27:33 +08:00
parent 0a1fc71944
commit e00192add6
2 changed files with 3 additions and 2 deletions

View File

@ -1 +1 @@
0.2.5-1
0.2.5-2

View File

@ -19,6 +19,7 @@
# <http://www.gnu.org/licenses/>.
BASEDIR=$(dirname $0)
MISCELLDIR="/usr/share/zjunet"
case "$1" in
route)
@ -41,7 +42,7 @@ case "$1" in
"${BASEDIR}/dns.sh"
;;
version|--version)
version_full=`cat "${BASEDIR}/VERSION"`
version_full=`cat "${MISCELLDIR}/VERSION"`
version=$(echo $version_full | sed 's/-.*//')
echo "zjunet version: $version (${version_full})"
;;