[yast-commit] r55389 - in /trunk/printer: VERSION package/yast2-printer.changes src/autoconfig.ycp
Author: mzugec Date: Tue Feb 10 15:01:54 2009 New Revision: 55389 URL: http://svn.opensuse.org/viewcvs/yast?rev=55389&view=rev Log: enable cups autoconfig on 64-bit (bnc#464683) Modified: trunk/printer/VERSION trunk/printer/package/yast2-printer.changes trunk/printer/src/autoconfig.ycp Modified: trunk/printer/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/printer/VERSION?rev=55389&r1=55388&r2=55389&view=diff ============================================================================== --- trunk/printer/VERSION (original) +++ trunk/printer/VERSION Tue Feb 10 15:01:54 2009 @@ -1 +1 @@ -2.18.2 +2.18.3 Modified: trunk/printer/package/yast2-printer.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/printer/package/yast2-printer.changes?rev=55389&r1=55388&r2=55389&view=diff ============================================================================== --- trunk/printer/package/yast2-printer.changes (original) +++ trunk/printer/package/yast2-printer.changes Tue Feb 10 15:01:54 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Feb 10 15:01:34 CET 2009 - mzugec@suse.cz + +- enable cups autoconfig on 64-bit (bnc#464683) +- 2.18.3 + +------------------------------------------------------------------- Mon Feb 9 17:58:31 CET 2009 - mzugec@suse.cz - AutoYaST : import Modified: trunk/printer/src/autoconfig.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/printer/src/autoconfig.ycp?rev=55389&r1=55388&r2=55389&view=diff ============================================================================== --- trunk/printer/src/autoconfig.ycp (original) +++ trunk/printer/src/autoconfig.ycp Tue Feb 10 15:01:54 2009 @@ -360,7 +360,13 @@ { // After the autoconfig settings have been successfully applied, // check if cups-autoconfig should run now: if( cups_autoconfig_triggered ) - { if( ! Printerlib::ExecuteBashCommand( "/usr/lib/cups-autoconfig/cups-autoconfig --add" ) ) + { // Depending on the architecture /usr/lib*/cups-autoconfig/cups-autoconfig could actually + // be /usr/lib/cups-autoconfig/cups-autoconfig (in SLE11 on i586, ia64, ppc, s390) + // or /usr/lib64/cups-autoconfig/cups-autoconfig (in SLE11 on ppc64, s390x, x86_64) + // or /usr/lib32/cups-autoconfig/cups-autoconfig (not in SLE11 but possible in a third-party package). + // If several /usr/lib*/cups-autoconfig/cups-autoconfig exist, simply the first one + // in the ls output which is /usr/lib/cups-autoconfig/cups-autoconfig is used here: + if( ! Printerlib::ExecuteBashCommand( "$( ls -1 /usr/lib*/cups-autoconfig/cups-autoconfig | head -n1 ) --add" ) ) { Popup::ErrorDetails( // Popup::ErrorDetails message. _("Automatic configuration failed."), Printerlib::result["stderr"]:"" -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
mzugec@svn.opensuse.org