From 73ca442e57937a9ea747a10b75dc0c18b51c65bb Mon Sep 17 00:00:00 2001 From: k0r10n Date: Fri, 28 Nov 2014 20:27:12 +0400 Subject: main/backuppc: Fix permissions and edited patch Signed-off-by: Leonardo Arena --- main/backuppc/configure.pl.patch | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'main/backuppc/configure.pl.patch') diff --git a/main/backuppc/configure.pl.patch b/main/backuppc/configure.pl.patch index 24d5e3bb38..67c2892ab4 100644 --- a/main/backuppc/configure.pl.patch +++ b/main/backuppc/configure.pl.patch @@ -1,6 +1,6 @@ ---- src/BackupPC-3.2.0beta1/configure.pl -+++ configure.pl -@@ -327,25 +327,8 @@ +--- BackupPC-3.3.0.orig/configure.pl ++++ BackupPC-3.3.0/configure.pl +@@ -327,25 +327,11 @@ EOF my($name, $passwd, $Uid, $Gid); @@ -9,6 +9,9 @@ - $Conf{BackupPCUser} || "backuppc", - "backuppc-user"); - if ( $opts{"set-perms"} ) { ++ $Conf{BackupPCUser} = prompt("--> BackupPC should run as user", ++ $Conf{BackupPCUser} || "backuppc", ++ "backuppc-user"); ($name, $passwd, $Uid, $Gid) = getpwnam($Conf{BackupPCUser}); - last if ( $name ne "" ); - print <