directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r670564 - in /directory/daemon/trunk/plugin/src/main: java/org/apache/directory/daemon/installers/solarispkg/SolarisPkgInstallerCommand.java resources/org/apache/directory/daemon/installers/solarispkg/Prototype
Date Mon, 23 Jun 2008 13:28:15 GMT
Author: pamarcelot
Date: Mon Jun 23 06:28:15 2008
New Revision: 670564

URL: http://svn.apache.org/viewvc?rev=670564&view=rev
Log:
Added a postremove script.

Modified:
    directory/daemon/trunk/plugin/src/main/java/org/apache/directory/daemon/installers/solarispkg/SolarisPkgInstallerCommand.java
    directory/daemon/trunk/plugin/src/main/resources/org/apache/directory/daemon/installers/solarispkg/Prototype

Modified: directory/daemon/trunk/plugin/src/main/java/org/apache/directory/daemon/installers/solarispkg/SolarisPkgInstallerCommand.java
URL: http://svn.apache.org/viewvc/directory/daemon/trunk/plugin/src/main/java/org/apache/directory/daemon/installers/solarispkg/SolarisPkgInstallerCommand.java?rev=670564&r1=670563&r2=670564&view=diff
==============================================================================
--- directory/daemon/trunk/plugin/src/main/java/org/apache/directory/daemon/installers/solarispkg/SolarisPkgInstallerCommand.java
(original)
+++ directory/daemon/trunk/plugin/src/main/java/org/apache/directory/daemon/installers/solarispkg/SolarisPkgInstallerCommand.java
Mon Jun 23 06:28:15 2008
@@ -198,11 +198,14 @@
 
             MojoHelperUtils.copyAsciiFile( mymojo, filterProperties, getClass().getResourceAsStream(
"preremove" ),
                 new File( pkgDirectory, "preremove" ), true );
+
+            MojoHelperUtils.copyAsciiFile( mymojo, filterProperties, getClass().getResourceAsStream(
"postremove" ),
+                new File( pkgDirectory, "postremove" ), true );
         }
         catch ( IOException e )
         {
             log.error( e.getMessage() );
-            throw new MojoFailureException( "Failed to copy DEB 'control' file." );
+            throw new MojoFailureException( "Failed to copy PKG 'control' file." );
         }
 
         // Creating the target folder

Modified: directory/daemon/trunk/plugin/src/main/resources/org/apache/directory/daemon/installers/solarispkg/Prototype
URL: http://svn.apache.org/viewvc/directory/daemon/trunk/plugin/src/main/resources/org/apache/directory/daemon/installers/solarispkg/Prototype?rev=670564&r1=670563&r2=670564&view=diff
==============================================================================
--- directory/daemon/trunk/plugin/src/main/resources/org/apache/directory/daemon/installers/solarispkg/Prototype
(original)
+++ directory/daemon/trunk/plugin/src/main/resources/org/apache/directory/daemon/installers/solarispkg/Prototype
Mon Jun 23 06:28:15 2008
@@ -1,6 +1,7 @@
 i pkginfo
 i postinstall
 i preremove
+i postremove
 d none /opt/apacheds-${version} 0755 root root
 d none /opt/apacheds-${version}/bin 0755 root root
 f none /opt/apacheds-${version}/bin/apacheds-tools.jar 0755 root root



Mime
View raw message