gtranslator r3567 - branches/gtranslator_1_1_8/data/scripts



Author: jjsanchez
Date: Thu Apr 24 14:28:55 2008
New Revision: 3567
URL: http://svn.gnome.org/viewvc/gtranslator?rev=3567&view=rev

Log:
	* scripts/cleanup-gtranslator-settings.sh: (bug #316947)
	Solved the problem of KILLALL not always being defined



Modified:
   branches/gtranslator_1_1_8/data/scripts/cleanup-gtranslator-settings.sh

Modified: branches/gtranslator_1_1_8/data/scripts/cleanup-gtranslator-settings.sh
==============================================================================
--- branches/gtranslator_1_1_8/data/scripts/cleanup-gtranslator-settings.sh	(original)
+++ branches/gtranslator_1_1_8/data/scripts/cleanup-gtranslator-settings.sh	Thu Apr 24 14:28:55 2008
@@ -23,6 +23,9 @@
 esac
 
 remove_commands ()  {
+	# Default path for killall
+	KILLALL=/usr/bin/killall
+
 	# Check if we have killall or pkill
 	case `uname` in
 	FreeBSD)
@@ -38,6 +41,9 @@
 		KILLALL=/usr/bin/killall
 		fi
 	;;
+        *)
+		echo "Unknown OS, using default path: /usr/bin/killall"
+        ;;
 	esac
 
 	$KILLALL gtranslator 2>&1 >/dev/null ; sleep 3 && \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]