CVS:oo-debian-files/bin openoffice,1.23,1.24
Update of /home/halls/cvs/debian-openoffice/oo-debian-files/bin
In directory gluck:/tmp/cvs-serv17239/bin
Modified Files:
openoffice
Log Message:
* check for /proc in wrapper
* 1.1.0-6+1
Index: openoffice
===================================================================
RCS file: /home/halls/cvs/debian-openoffice/oo-debian-files/bin/openoffice,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- openoffice 16 Dec 2003 15:43:19 -0000 1.23
+++ openoffice 16 Feb 2004 12:34:54 -0000 1.24
@@ -143,6 +143,12 @@
return 1
}
+## OOo does not start if /proc is not mounted, so check for it
+if [ ! -f /proc/version ]; then
+ echo "openoffice.org: You must have a working /proc filesystem to use openoffice." >&2
+ echo "Please mount /proc and try again" >&2
+ exit 1
+fi
##
## where does OO live for this user ? Set OOHOME.
Reply to: