From 7250a369ab2f5f1980050b0f4cee251ad64ad009 Mon Sep 17 00:00:00 2001 From: "ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Sun, 2 May 2004 10:08:56 +0000 Subject: BUILD : 1.7.2 (79) BUGS : NOTES : Added check to anoperc to see if paths work, and fixed one grammar error git-svn-id: svn://svn.anope.org/anope/trunk@79 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@55 5417fbe8-f217-4b02-8779-1006273d7864 --- bin/anoperc | 9 +++++++-- version.log | 6 +++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/bin/anoperc b/bin/anoperc index 1b2a4a803..76949da20 100755 --- a/bin/anoperc +++ b/bin/anoperc @@ -15,7 +15,7 @@ ANOPEBIN="" ANOPROG="services" # SCRIPT VERSION NUMBER (DO NOT ALTER) -ARCVERSION="1.0" +ARCVERSION="1.1" ################################################ @@ -42,6 +42,11 @@ if [ "$ANOPEBIN" = "" ] ; then exit 1 fi +if [ ! -f $ANOPEBIN$ANOPROG ] ; then + echo "Error: $ANOPEBIN$ANOPROG cannot be accessed" + exit 1 +fi + if [ "$1" = "start" ] ; then if [ -f $ANOPEBIN$PIDFILE ] ; then @@ -116,7 +121,7 @@ elif [ "$1" = "help" ] ; then echo " For a list of type $0 $1 paramlist" echo "$0 stop Shutdown Anope" echo "$0 status Show Anope's Status" - echo "$0 restart Restart Anope (Databases will be saved" + echo "$0 restart Restart Anope (Databases will be saved)" echo "$0 rehash Rehash Configuration and Save Databases" echo "$0 version Return Anope Version and Build Information" echo "$0 help Show this help menu" diff --git a/version.log b/version.log index 390290925..4132fc48e 100644 --- a/version.log +++ b/version.log @@ -8,11 +8,15 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="2" -VERSION_BUILD="78" +VERSION_BUILD="79" VERSION_EXTRA="" # $Log$ # +# BUILD : 1.7.2 (79) +# BUGS : +# NOTES : Added check to anoperc to see if paths work, and fixed one grammar error +# # BUILD : 1.7.2 (78) # BUGS : N/A # NOTES : Added the ability to add module data to the NickCore and the NickAlias structs -- cgit