rpms/hplip/devel hplip.spec,1.85,1.86

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Jun 26 16:10:18 UTC 2006


Author: twaugh

Update of /cvs/dist/rpms/hplip/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv30279

Modified Files:
	hplip.spec 
Log Message:
- Fixed libsane-hpaio %post scriptlet (bug #196663).


Index: hplip.spec
===================================================================
RCS file: /cvs/dist/rpms/hplip/devel/hplip.spec,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -r1.85 -r1.86
--- hplip.spec	26 Jun 2006 15:37:56 -0000	1.85
+++ hplip.spec	26 Jun 2006 16:10:15 -0000	1.86
@@ -174,13 +174,16 @@
 
 %post -n libsane-hpaio
 /sbin/ldconfig
-if ! grep ^hpaio /etc/sane.d/dll.conf >/dev/null 2>/dev/null ; then \
+if [ -f /etc/sane.d/dll.conf ] && \
+   ! grep ^hpaio /etc/sane.d/dll.conf >/dev/null 2>/dev/null ; then \
         echo hpaio >> /etc/sane.d/dll.conf; \
 fi
+exit 0
 
 %changelog
 * Mon Jun 26 2006 Tim Waugh <twaugh at redhat.com>
 - Patchlevel 1.
+- Fixed libsane-hpaio %%post scriptlet (bug #196663).
 
 * Fri Jun 16 2006 Tim Waugh <twaugh at redhat.com> 1.6.6-2
 - 1.6.6.




More information about the fedora-cvs-commits mailing list