wok diff backuppc/receipt @ rev 15145

expect: filter wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 12:52:35 2013 +0000 (2013-08-15)
parents 1916b7d701ea
children 223b265f40fd
line diff
     1.1 --- a/backuppc/receipt	Mon Oct 01 01:36:27 2012 +0200
     1.2 +++ b/backuppc/receipt	Thu Aug 15 12:52:35 2013 +0000
     1.3 @@ -61,7 +61,7 @@
     1.4  	sed -i 's/{ArchivePar} =.*/{ArchivePar} = 5;/' $1/etc/BackupPC/config.pl
     1.5  	if [ ! -d $1/etc/BackupPC/.ssh ]; then
     1.6  		mkdir $1/etc/BackupPC/.ssh
     1.7 -		ssh-keygen -t rsa -f $1/etc/BackupPC/.ssh/id_rsa -C '' -N ''
     1.8 +		chroot $1/ ssh-keygen -t rsa -f /etc/BackupPC/.ssh/id_rsa -C '' -N ''
     1.9  	fi
    1.10  	if [ -z "$1" ]; then
    1.11  		/etc/init.d/apache stop