CVS: moonbase/compilers/j2sdk POST_INSTALL, NONE, 1.1 PRE_BUILD, 1.3, 1.4

elaine at lunar-linux.org elaine at lunar-linux.org
Thu Oct 23 13:31:01 GMT 2003


Update of /var/cvs/lunar/moonbase/compilers/j2sdk
In directory dbguin.lunar-linux.org:/tmp/cvs-serv16394

Modified Files:
	PRE_BUILD 
Added Files:
	POST_INSTALL 
Log Message:
j2sdk overwrites 2 kerberos-installed binaries, save and restore if present


--- NEW FILE: POST_INSTALL ---
# Restore kerberos tools if overwritten

if [ -d /tmp/krbsave ] ; then
  mv /tmp/krbsave/* /usr/bin
  rm -rf /tmp/krbsave
fi


Index: PRE_BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/compilers/j2sdk/PRE_BUILD,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- PRE_BUILD	22 Feb 2003 06:16:17 -0000	1.3
+++ PRE_BUILD	23 Oct 2003 13:30:59 -0000	1.4
@@ -8,3 +8,8 @@
   echo 'Problem with either License Agreement or j2sdk binary'
   exit 1
 fi
+if [ -x /usr/bin/kinit ] || [ -x /usr/bin/klist ] ; then
+  rm -rf /tmp/krbsave
+  mkdir /tmp/krbsave
+  mv -f /usr/bin/kinit /usr/bin/klist /tmp/krbsave
+fi




More information about the Lunar-commits mailing list