perfsonar-dev - perfsonar: r3526 - branches/rpm
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: perfsonar: r3526 - branches/rpm
- Date: Mon, 17 Mar 2008 16:50:14 -0400
Author: fernandes
Date: 2008-03-17 16:50:13 -0400 (Mon, 17 Mar 2008)
New Revision: 3526
Modified:
branches/rpm/package_maker.pl
Log:
bug fix in the deb package making process
Modified: branches/rpm/package_maker.pl
===================================================================
--- branches/rpm/package_maker.pl 2008-03-17 20:21:22 UTC (rev 3525)
+++ branches/rpm/package_maker.pl 2008-03-17 20:50:13 UTC (rev 3526)
@@ -72,9 +72,8 @@
print "set -e\n";
print "if [ \"\$1\" = \"configure\" ]; then\n";
print " ln -fns /home/perfsonar/webapps/$serviceName-$serviceVersion
/home/perfsonar/webapps/$serviceName\n";
- print " chown -R perfsonar:perfsonar /home/perfsonar/webapps\n";
- print " if [ \"\$2\" = \"null\" ]; then\n";
printPostScript();
+ print " chown -R perfsonar:perfsonar /home/perfsonar/webapps
/home/perfsonar/perfsonar-tomcat/conf\n";
print "fi\n";
close POSTINST;
@@ -82,7 +81,7 @@
select POSTRM;
print "#!/bin/sh\n";
print "set -e\n";
- print "if [ \"\$1\" = \"remove\" -o \"\$1\" = \"purge\" ]; then\n";
+ print "if [ \"\$1\" = \"purge\" ]; then\n";
printPostRmScript();
close POSTRM;
@@ -256,7 +255,6 @@
print " patch -p0 < perfSONAR-patch.tmp\n";
print " rm perfSONAR-patch.tmp\n";
print " fi\n";
- print "fi\n";
print "\n";
print "echo \"\"\n";
for my $messageLine (@serviceMessage){
@@ -324,6 +322,7 @@
print "\n";
print "if [ \$1 -eq 1 ]; then\n";
printPostScript();
+ print "fi\n";
print "\n";
print "\%postun\n";
print "if [ \$1 -eq 0 ]; then\n";
- perfsonar: r3526 - branches/rpm, svnlog, 03/17/2008
Archive powered by MHonArc 2.6.16.