fix exiting with error in postun script [release 3.16.5-3mamba;Fri Jul 08 2016]
This commit is contained in:
parent
d91dbb3599
commit
fabaa68de1
@ -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
|
||||
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 <silvan.calarco@mambasoft.it> 3.16.5-3mamba
|
||||
- fix exiting with error in postun script
|
||||
|
||||
* Mon Jul 04 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.16.5-2mamba
|
||||
- fix patch systray-hide-when-inactive
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user