[svn-rock-linux] r3791 - branches/2.0-stable/scripts

rock-svn at rocklinux.org rock-svn at rocklinux.org
Wed Aug 11 14:37:50 CEST 2004


Author: teha
Date: 2004-08-10 12:47:39 +0200 (Tue, 10 Aug 2004)
New Revision: 3791

Modified:
   branches/2.0-stable/scripts/Check-System
Log:
Tobias Hintze <th at rocklinux.org>:
	merged r3155 and r3156 from trunk:
	added makeinfo test to Check-System (r3155; Alex <comet.friend at gmx.net>)
	added a check for 'sed -i' to Check-System (r3156; rene)




Modified: branches/2.0-stable/scripts/Check-System
===================================================================
--- branches/2.0-stable/scripts/Check-System	2004-08-09 22:04:59 UTC (rev 3790)
+++ branches/2.0-stable/scripts/Check-System	2004-08-10 10:47:39 UTC (rev 3791)
@@ -59,14 +59,23 @@
 	found_error=1
 fi
 
+if [ -z "`type -p makeinfo`" ] ; then
+	echo
+	echo "Paranoia Check: Program 'makeinfo' not found!"
+	echo "The makeinfo program is needed for translating Texinfo"
+	echo "documents. Please make sure that a current version of the"
+	echo "texinfo package (including makeinfo) is installed on your system."
+	found_error=1
+fi
+
 case $BASH_VERSION in
   2.05b*) ;;
   *)	echo "The running bash version is not listed as supported version"
 	echo "You need to update 'bash' to at least version 2.05b."
 	found_error=1
 esac
-	
 
+
 x="`mktemp -p /tmp 2> /dev/null`"
 if [ -z "$x" -o ! -f "$x" ] ; then
 	echo
@@ -78,6 +87,15 @@
 	rm -f "$x"
 fi
 
+if [ -z "`type -p sed`" ] || ! sed -i s/a/b/ < /dev/null 2> /dev/null
+then
+	echo
+	echo "Paranoia Check: Program 'sed' not found or too old!"
+	echo "You need a 'sed' installed which does know about the -i option"
+	echo "(GNU/sed since 2001-09-25). Install the latest sed version."
+	found_error=1
+fi
+
 if [ $found_error -ne 0 ] ; then
 	echo
 	echo "Paranoia Check found errors -> not doing anything."



More information about the rock-svn mailing list