Author: jsmeix Date: Wed May 9 15:48:04 2012 New Revision: 68125 URL: http://svn.opensuse.org/viewcvs/yast?rev=68125&view=rev Log: In tools/create_printer_ppd_database re-replace "usleep 100" by the old traditional "sleep 1" to avoid a RPM requirement for the package sysvinit or sysvinit-tools which provides /bin/usleep and furthermore using usleep would need more changes so that the whole progress in create_printer_ppd_database works again o.k. even if there is not yet /var/cache/cups/ppds.dat (in other words: never try to optimize working stuff ;-) Modified: trunk/printer/tools/create_printer_ppd_database Modified: trunk/printer/tools/create_printer_ppd_database URL: http://svn.opensuse.org/viewcvs/yast/trunk/printer/tools/create_printer_ppd_database?rev=68125&r1=68124&r2=68125&view=diff ============================================================================== --- trunk/printer/tools/create_printer_ppd_database (original) +++ trunk/printer/tools/create_printer_ppd_database Wed May 9 15:48:04 2012 @@ -72,9 +72,7 @@ for i in $( seq $MAXIMUM_WAIT ) do ps $lpinfoPID &>/dev/null || break echo "Waiting for response from $LPINFO (PID $lpinfoPID)..." >>$PROGRESS - # Sleep only 1/10 of a second to make the "waiting for lpinfo" part sufficiently big - # in the progress file to be really visible in the DownloadProgress bar in YaST: - usleep 100 + sleep 1 done if ps $lpinfoPID &>/dev/null then kill -9 $lpinfoPID &>/dev/null -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org