Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=270ed1087efc586e1f92a429bc11e56ac1b5f46d

commit 270ed1087efc586e1f92a429bc11e56ac1b5f46d
Author: CSÉCSY László <boo...@frugalware.org>
Date:   Fri Apr 17 09:41:09 2009 +0200

munin-1.2.6-2-i686
fixing directory perms on upgrade

diff --git a/source/network-extra/munin/FrugalBuild 
b/source/network-extra/munin/FrugalBuild
index 6fde0f9..651d2a4 100644
--- a/source/network-extra/munin/FrugalBuild
+++ b/source/network-extra/munin/FrugalBuild
@@ -4,7 +4,7 @@

pkgname=munin
pkgver=1.2.6
-pkgrel=1
+pkgrel=2
pkgdesc="Munin is a tool for graphing all sorts of information about one or 
more servers and displaying it in a web interface."
Finclude sourceforge
url="http://munin.projects.linpro.no/";
diff --git a/source/network-extra/munin/munin.install 
b/source/network-extra/munin/munin.install
index 72d78d4..9b5e07b 100644
--- a/source/network-extra/munin/munin.install
+++ b/source/network-extra/munin/munin.install
@@ -33,6 +33,15 @@ post_remove()
rm -f /var/log/munin/munin-nagios.log*
}

+post_upgrade()
+{
+       # permissions
+       chown -R munin:munin /var/www/html/munin
+       chown -R munin:munin /var/log/munin
+       chown -R munin:munin /var/lib/munin
+       chown -R munin:munin /var/run/munin
+}
+
op=$1
shift
$op $*
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to