summaryrefslogtreecommitdiffstats
path: root/main/backuppc/configure.pl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/backuppc/configure.pl.patch')
-rw-r--r--main/backuppc/configure.pl.patch15
1 files changed, 9 insertions, 6 deletions
diff --git a/main/backuppc/configure.pl.patch b/main/backuppc/configure.pl.patch
index 24d5e3bb3..67c2892ab 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 <<EOF;
@@ -26,7 +29,7 @@
print <<EOF;
Please specify an install directory for BackupPC. This is where the
-@@ -532,12 +515,6 @@
+@@ -532,12 +518,6 @@
) ) {
next if ( -d "$DestDir$Conf{InstallDir}/$dir" );
mkpath("$DestDir$Conf{InstallDir}/$dir", 0, 0755);
@@ -39,7 +42,7 @@
}
#
-@@ -546,11 +523,6 @@
+@@ -546,11 +526,6 @@
foreach my $dir ( ($Conf{CgiImageDir}) ) {
next if ( $dir eq "" || -d "$DestDir$dir" );
mkpath("$DestDir$dir", 0, 0755);
@@ -51,7 +54,7 @@
}
#
-@@ -566,12 +538,6 @@
+@@ -566,12 +541,6 @@
"$Conf{LogDir}",
) ) {
mkpath("$DestDir$dir", 0, 0750) if ( !-d "$DestDir$dir" );