[Pkg-voip-commits] r7566 - /mumble-django/trunk/debian/mumble-django-configure

svedrin-guest at alioth.debian.org svedrin-guest at alioth.debian.org
Sun Sep 6 14:48:51 UTC 2009


Author: svedrin-guest
Date: Sun Sep  6 14:48:51 2009
New Revision: 7566

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=7566
Log:
add a prompt to the "read" commands

Modified:
    mumble-django/trunk/debian/mumble-django-configure

Modified: mumble-django/trunk/debian/mumble-django-configure
URL: http://svn.debian.org/wsvn/pkg-voip/mumble-django/trunk/debian/mumble-django-configure?rev=7566&op=diff
==============================================================================
--- mumble-django/trunk/debian/mumble-django-configure (original)
+++ mumble-django/trunk/debian/mumble-django-configure Sun Sep  6 14:48:51 2009
@@ -62,7 +62,7 @@
 echo "   2) Create a new SuperUser for Mumble-Django's web admin interface"
 echo "      Note: This will be done automatically when you run 1) for the first time."
 
-read ACTION
+read -p '#? ' ACTION
 
 if [ -z "$ACTION" -o "$ACTION" = "1" ]; then
 	echo " Mumble-Server detection"
@@ -73,7 +73,7 @@
 	echo " > 1) Debian default"
 	echo "   2) user defined"
 	
-	read CHOICE
+	read -p '#? ' CHOICE
 	if [ -z "$CHOICE" -o "$CHOICE" = "1" ]; then
 		if [ "$USER" = "root" ]; then
 			/usr/sbin/invoke-rc.d --quiet mumble-server start
@@ -97,7 +97,7 @@
 	echo "   1) Yes, reload Apache2."
 	echo " > 2) No, don't do anything."
 	
-	read ACTION
+	read -p '#? ' ACTION
 	
 	if [ "$ACTION" = "1" ]; then
 		/usr/sbin/invoke-rc.d apache2 reload
@@ -112,7 +112,7 @@
 			echo "   1) Yes, uninstall it."
 			echo " > 2) No, don't do anything."
 			
-			read ACTION
+			read -p '#? ' ACTION
 			if [ "$ACTION" = "1" ]; then
 				rm "${MUMBLE_DJANGO_MUNIN}"
 				invoke-rc.d munin-node restart
@@ -127,7 +127,7 @@
 			echo "   1) Yes, install it."
 			echo " > 2) No, don't do anything."
 			
-			read ACTION
+			read -p '#? ' ACTION
 			if [ "$ACTION" = "1" ]; then
 				ln -s "${MUMBLE_DJANGO_INSTDIR}/munin.py" "${MUMBLE_DJANGO_MUNIN}"
 				invoke-rc.d munin-node restart




More information about the Pkg-voip-commits mailing list