Bug 641111

Summary: yast2-scanner: doesn't detect active backends with underscore
Product: [openSUSE] openSUSE 11.3 Reporter: Johannes Meixner <jsmeix>
Component: YaST2Assignee: Johannes Meixner <jsmeix>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Minor    
Priority: P4 - Low    
Version: Final   
Target Milestone: Factory   
Hardware: All   
OS: openSUSE 11.3   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Johannes Meixner 2010-09-22 14:49:13 UTC
In /usr/lib/YaST2/bin/determine_active_scanner_backends
-------------------------------------------------------------------------
grep '^[[:alnum:]][[:alnum:]]*$' /etc/sane.d/dll.conf ...
-------------------------------------------------------------------------
does not match to backends with underscore:
artec_eplus48u
canon_dr
canon_pp
dell1600n_net
mustek_pp
mustek_usb
mustek_usb2
plustek_pp
umax_pp
xerox_mfp

Fix (be also prepared for backends with '-'):
-------------------------------------------------------------------------
grep '^[[:alnum:]][[:alnum:]_-]*$' /etc/sane.d/dll.conf ...
-------------------------------------------------------------------------
Comment 1 Johannes Meixner 2010-09-23 14:22:53 UTC
Fixed yast2-scanner in YaST SVN revision 62502:
---------------------------------------------------------------------------
- V 2.20.0
...
- Fix determine_active_scanner_backends so that it also detects
  active backends with '_' or '-' characters in the backend name
  (see openSUSE/Novell Bugzilla bnc#641111).
---------------------------------------------------------------------------
and submitted it in the openSUSE build service
to YaST:Head via submitrequest 48985 and
to openSUSE:Factory via submitrequest 48987