fix for #693331, amserverconfig trying to create /var/lib/lib/amanda
[debian/amanda] / debian / patches / fix-amserverconfig-path
diff --git a/debian/patches/fix-amserverconfig-path b/debian/patches/fix-amserverconfig-path
new file mode 100644 (file)
index 0000000..e9f3365
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/server-src/amserverconfig.pl b/server-src/amserverconfig.pl
+index a05dd18..9357116 100755
+--- a/server-src/amserverconfig.pl
++++ b/server-src/amserverconfig.pl
+@@ -31,7 +31,7 @@ use Amanda::Constants;
+ my $confdir="$CONFIG_DIR";
+ my $tmpdir="$AMANDA_DBGDIR";
+-my $amandahomedir="$localstatedir/lib/amanda";
++my $amandahomedir="$localstatedir/amanda";
+ my $templatedir="$amdatadir/template.d"; #rpm install template files here
+ my $def_tapedev="file:$amandahomedir/vtapes";