diff --git a/hplip.spec b/hplip.spec index ac166d5..d995263 100644 --- a/hplip.spec +++ b/hplip.spec @@ -3,7 +3,7 @@ %define cups_ver %(cups-config --api-version) Name: hplip Version: 3.16.5 -Release: 2mamba +Release: 3mamba Summary: A printer driver for HP inkjet devices Group: System/Spooling Vendor: openmamba @@ -131,9 +131,10 @@ fi # service hplip restart # service cups restart #fi -[ -e %{_sysconfdir}/sane.d/dll.conf ] || exit 1 -grep hpaio %{_sysconfdir}/sane.d/dll.conf >/dev/null || - echo "hpaio" >> %{_sysconfdir}/sane.d/dll.conf +if [ -e %{_sysconfdir}/sane.d/dll.conf ]; then + grep hpaio %{_sysconfdir}/sane.d/dll.conf >/dev/null || + echo "hpaio" >> %{_sysconfdir}/sane.d/dll.conf +fi /sbin/ldconfig : @@ -197,6 +198,9 @@ grep hpaio %{_sysconfdir}/sane.d/dll.conf >/dev/null || %{_datadir}/doc/* %changelog +* Fri Jul 08 2016 Silvan Calarco 3.16.5-3mamba +- fix exiting with error in postun script + * Mon Jul 04 2016 Silvan Calarco 3.16.5-2mamba - fix patch systray-hide-when-inactive