CVS: moonbase/web/MozillaFirebird POST_INSTALL,1.5,1.6

Terry Chan tchan at lunar-linux.org
Mon Dec 22 01:47:00 GMT 2003


Update of /var/cvs/lunar/moonbase/web/MozillaFirebird
In directory dbguin.lunar-linux.org:/tmp/cvs-serv11576

Modified Files:
	POST_INSTALL 
Log Message:
Added tests for the two directories /usr/share/pixmaps and
/usr/share/applications.  Created the dirs, if they don't exist already.


Index: POST_INSTALL
===================================================================
RCS file: /var/cvs/lunar/moonbase/web/MozillaFirebird/POST_INSTALL,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- POST_INSTALL	18 Oct 2003 15:10:33 -0000	1.5
+++ POST_INSTALL	22 Dec 2003 01:46:58 -0000	1.6
@@ -30,5 +30,11 @@
 
 ln -sf /usr/lib/j2sdk1.4.1/jre/plugin/i386/mozilla/javaplugin_oji.so $FIREBIRD_HOME/lib/mozilla/plugins/javaplugin_oji.so 
 
+if [ ! -d /usr/share/applications ] ; then
+  mkdir -p /usr/share/applications
+fi
+if [ ! -d /usr/share/pixmaps ] ; then
+  mkdir -p /usr/share/pixmaps
+fi
 cp $SOURCE_DIRECTORY/firebird-0.7-lunar/firebird.desktop /usr/share/applications/firebird.desktop &&
 cp $SOURCE_DIRECTORY/firebird-0.7-lunar/firebird.xpm /usr/share/pixmaps/firebird.xpm 




More information about the Lunar-commits mailing list