wok-4.x rev 12041

Up: postfixadmn (2.3.5) + improve package
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Mar 07 17:39:37 2012 +0100 (2012-03-07)
parents bd2839cfbcdd
children c4e464160942
files postfixadmin/receipt
line diff
     1.1 --- a/postfixadmin/receipt	Wed Mar 07 16:30:58 2012 +0100
     1.2 +++ b/postfixadmin/receipt	Wed Mar 07 17:39:37 2012 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="postfixadmin"
     1.7 -VERSION="2.3.3"
     1.8 +VERSION="2.3.5"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Postfix web administration."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -19,11 +19,14 @@
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16 -	mkdir -p $fs/usr/share/postfixadmin $fs/etc/postfix
    1.17 +	mkdir -p $fs/usr/share/postfixadmin $fs/etc/postfixadmin
    1.18  	cp -a $src/* $fs/usr/share/postfixadmin/
    1.19 -	mv $fs/usr/share/postfixadmin/config.inc.php $fs/etc/postfix/postfixadmin.php
    1.20 -	ln -s /etc/postfix/postfixadmin.php $fs/usr/share/postfixadmin/config.inc.php
    1.21 -	sed -i 's/false/true/' $fs/etc/postfix/postfixadmin.php
    1.22 +	mv $fs/usr/share/postfixadmin/config.inc.php $fs/etc/postfixadmin
    1.23 +	ln -s /etc/postfixadmin/config.inc.php $fs/usr/share/postfixadmin/config.inc.php
    1.24 +	sed -i 's/false/true/' $fs/etc/postfixadmin/config.inc.php
    1.25 +	
    1.26 +	# Fix group
    1.27 +	chown -R root.root $fs/usr/share/postfixadmin/
    1.28  }
    1.29  
    1.30  post_install()