wok diff backuppc/receipt @ rev 9283

backuppc: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 16 09:39:58 2011 +0100 (2011-03-16)
parents 118babc9679f
children ed56bd5b4622
line diff
     1.1 --- a/backuppc/receipt	Wed Mar 16 09:13:12 2011 +0100
     1.2 +++ b/backuppc/receipt	Wed Mar 16 09:39:58 2011 +0100
     1.3 @@ -21,13 +21,14 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 -	mkdir -p $PWD/_pkg/etc/apache/conf.d
     1.8 -	cp httpd/BackupPC.conf $PWD/_pkg/etc/apache/conf.d
     1.9 +	mkdir -p _pkg/etc/apache/conf.d
    1.10  	perl configure.pl --batch --dest-dir=$PWD/_pkg --install-dir=/usr \
    1.11  		--data-dir=/var/lib/BackupPC --config-dir=/etc/BackupPC \
    1.12  		--log-dir=/var/log/BackupPC --backuppc-user=www \
    1.13  		--hostname=localhost --html-dir=/usr/share/BackupPC/www \
    1.14 -		--html-dir-url=/BackupPC/img --cgi-dir=/usr/share/BackupPC/cgi
    1.15 +		--html-dir-url=/BackupPC/img \
    1.16 +		--cgi-dir=/usr/share/BackupPC/cgi &&
    1.17 +	cp httpd/BackupPC.conf _pkg/etc/apache/conf.d
    1.18  }
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.