Imported Upstream version 3.1.0
[debian/amanda] / changer-src / chg-iomega.pl
index 56a13299cc856f74c3393bd999420460925dc0f2..b6f96b177851a9a430ee001423536f7c3ccf9810 100644 (file)
@@ -76,17 +76,12 @@ $prefix=$prefix;            # avoid warnings about possible typo
 $exec_prefix="@exec_prefix@";
 $exec_prefix=$exec_prefix;     # Ditto
 $sbindir="@sbindir@";
-if ( "@USE_VERSION_SUFFIXES@" eq "yes" ) {
-    $SUF = "-@VERSION@";
-} else {
-    $SUF = "";
-}
 
-chomp ($tapeDevice = `$sbindir/amgetconf$SUF tapedev 2>&1`);
+chomp ($tapeDevice = `$sbindir/amgetconf tapedev 2>&1`);
 die "tapedev not found in amanda.conf"
        if !$tapeDevice or $tapeDevice eq "" or
            $tapeDevice =~ m/no such parameter/;
-chomp ($changerDevice = `$sbindir/amgetconf$SUF changerdev 2>&1`);
+chomp ($changerDevice = `$sbindir/amgetconf changerdev 2>&1`);
 chomp $changerDevice;
 die "changerdev not found in amanda.conf"
        if !$changerDevice or $changerDevice eq "" or