https://qa.mandrakesoft.com/show_bug.cgi?id=714

           Product: wine
         Component: program
           Summary: wine-config ignores cdrom mount point
           Version: 20021007-2mdk
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


/usr/share/wine/wine-config ignores cdrom mount points from /etc/fstab which are
not using automount, e.g. this one:

/dev/cdrom      /mnt/cdrom      auto     user,exec,nodev,nosuid,ro,noauto 0 0

The following patch works for me, but I did not test it with automount entries:

@@ -164,7 +168,7 @@
          }
        elsif ($_[1] =~ /\/mnt\/cdrom\d?/)
          {
-          push @iso, [ $_[1], $1 ] if ($_[3] =~ /dev=([\w\/]+)/);
+          push @iso, [ $_[1], $1 ] if ($_[3] =~ /dev=([\w\/]+)/ or $_[0] =~
/([\w\/]+)/);
          }
     }



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to