wok diff backuppc/receipt @ rev 9316
Up openvas-manager (1.0.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 18 09:19:41 2011 +0100 (2011-03-18) |
parents | 6551d4df1ace |
children | a1644dbcf632 |
line diff
1.1 --- a/backuppc/receipt Wed Mar 16 09:39:58 2011 +0100 1.2 +++ b/backuppc/receipt Fri Mar 18 09:19:41 2011 +0100 1.3 @@ -22,6 +22,10 @@ 1.4 { 1.5 cd $src 1.6 mkdir -p _pkg/etc/apache/conf.d 1.7 + grep -q share/BackupPC/doc configure.pl || 1.8 + sed -i -e 's|/doc|/share/BackupPC/doc|' \ 1.9 + -e 's|bin doc|bin share/BackupPC/doc|' \ 1.10 + configure.pl 1.11 perl configure.pl --batch --dest-dir=$PWD/_pkg --install-dir=/usr \ 1.12 --data-dir=/var/lib/BackupPC --config-dir=/etc/BackupPC \ 1.13 --log-dir=/var/log/BackupPC --backuppc-user=www \ 1.14 @@ -39,7 +43,7 @@ 1.15 sed -i -e "s/''http/'http/;s/min''/min'/" \ 1.16 -e 's/-E -N -d/-E -d/' \ 1.17 -e "s/^\\\$Conf{CgiAdminUsers}.*/\$Conf{CgiAdminUsers} = 'root';/" \ 1.18 - -e 's|sshPath -q -x|sshPath -i /etc/BackupPC/.ssh/id_rsa -q -x|' \ 1.19 + -e 's|sshPath -q -x|sshPath -o UserKnownHostsFile=/etc/BackupPC/.ssh/known_hosts -i /etc/BackupPC/.ssh/id_rsa -q -x|' \ 1.20 $fs/etc/BackupPC/config.pl 1.21 chown www.www $fs/etc/BackupPC/config.pl 1.22 chmod 755 $fs/etc $fs/var $fs/var/*