X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=changer-src%2Fchg-rth.pl;h=fc9ea9ee97431cf5f9d8829f345e6bfb832a9188;hb=fd48f3e498442f0cbff5f3606c7c403d0566150e;hp=9f755598e08cd77eb8e6e6e5367daef0ec8a1227;hpb=94a044f90357edefa6f4ae9f0b1d5885b0e34aee;p=debian%2Famanda diff --git a/changer-src/chg-rth.pl b/changer-src/chg-rth.pl index 9f75559..fc9ea9e 100644 --- a/changer-src/chg-rth.pl +++ b/changer-src/chg-rth.pl @@ -36,14 +36,9 @@ $exec_prefix="@exec_prefix@"; $exec_prefix=$exec_prefix; # ditto $sbindir="@sbindir@"; $amlibexecdir="@amlibexecdir@"; -if ("@USE_VERSION_SUFFIXES@" eq "yes") { - $suf = "-@VERSION@"; -} else { - $suf = ""; -} -if (-x "$sbindir/ammt$SUF") { - $MT="$sbindir/ammt$SUF"; +if (-x "$sbindir/ammt") { + $MT="$sbindir/ammt"; $MTF="-f"; } elsif (-x "@MT@") { $MT="@MT@"; @@ -53,7 +48,7 @@ if (-x "$sbindir/ammt$SUF") { exit(1); } -$tapeDevice=`$sbindir/amgetconf$SUF tapedev`; +$tapeDevice=`$sbindir/amgetconf tapedev`; die "tapedev not found in amanda.conf" if !$tapeDevice or $tapeDevice eq "" or $tapeDevice =~ m/no such parameter/;