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
12
hplip.spec
12
hplip.spec
@ -3,7 +3,7 @@
|
|||||||
%define cups_ver %(cups-config --api-version)
|
%define cups_ver %(cups-config --api-version)
|
||||||
Name: hplip
|
Name: hplip
|
||||||
Version: 3.16.5
|
Version: 3.16.5
|
||||||
Release: 2mamba
|
Release: 3mamba
|
||||||
Summary: A printer driver for HP inkjet devices
|
Summary: A printer driver for HP inkjet devices
|
||||||
Group: System/Spooling
|
Group: System/Spooling
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -131,9 +131,10 @@ fi
|
|||||||
# service hplip restart
|
# service hplip restart
|
||||||
# service cups restart
|
# service cups restart
|
||||||
#fi
|
#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 ||
|
grep hpaio %{_sysconfdir}/sane.d/dll.conf >/dev/null ||
|
||||||
echo "hpaio" >> %{_sysconfdir}/sane.d/dll.conf
|
echo "hpaio" >> %{_sysconfdir}/sane.d/dll.conf
|
||||||
|
fi
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
:
|
:
|
||||||
|
|
||||||
@ -197,6 +198,9 @@ grep hpaio %{_sysconfdir}/sane.d/dll.conf >/dev/null ||
|
|||||||
%{_datadir}/doc/*
|
%{_datadir}/doc/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Jul 04 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.16.5-2mamba
|
||||||
- fix patch systray-hide-when-inactive
|
- fix patch systray-hide-when-inactive
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user