Debian Codegraph @

debian/patches/fix-amserverconfig-template-path

raw
1 Description: adjust template path to work with Debian
2 Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=551564
3 Author: Bill Blough <[email protected]>
4
5 Index: amanda.git/server-src/amserverconfig.pl
6 ===================================================================
7 --- amanda.git.orig/server-src/amserverconfig.pl 2017-01-15 19:23:30.394520556 +0000
8 +++ amanda.git/server-src/amserverconfig.pl 2017-01-15 19:23:30.390520550 +0000
9 @@ -34,7 +34,7 @@ use Amanda::Constants;
10 my $confdir="$CONFIG_DIR";
11 my $tmpdir="$AMANDA_DBGDIR";
12 my $amandahomedir="$localstatedir/amanda";
13 -my $templatedir="$amdatadir/template.d"; #rpm install template files here
14 +my $templatedir="${amdatadir}-common/template.d"; #rpm install template files here
15 my $def_tapedev="file:$amandahomedir/vtapes";
16
17 my $amanda_user="$Amanda::Constants::CLIENT_LOGIN";
18 @@ -417,7 +417,7 @@ sub create_customconf{
19
20
21 sub check_xinetd{
22 - &mprint ("/var/lib/amanda/example/xinetd.amandaserver contains the latest Amanda server daemon configuration.\n");
23 + &mprint ("/usr/share/doc/amanda-server/examples/xinetd.amandaserver contains the latest Amanda server daemon configuration.\n");
24 &mprint ("Please merge it to /etc/xinetd.d/amandaserver.\n");
25 }
26