mirror of
https://abf.rosa.ru/djam/sane.git
synced 2025-02-23 17:23:00 +00:00
Fix service invoaction in post scripts
This commit is contained in:
parent
77b402ef31
commit
b112ebec16
1 changed files with 4 additions and 4 deletions
|
@ -28,7 +28,7 @@
|
||||||
Summary: SANE - local and remote scanner access
|
Summary: SANE - local and remote scanner access
|
||||||
Name: sane
|
Name: sane
|
||||||
Version: 1.0.24
|
Version: 1.0.24
|
||||||
Release: 6
|
Release: 7
|
||||||
# lib/ is LGPLv2+, backends are GPLv2+ with exceptions
|
# lib/ is LGPLv2+, backends are GPLv2+ with exceptions
|
||||||
# Tools are GPLv2+, docs are public domain
|
# Tools are GPLv2+, docs are public domain
|
||||||
License: GPLv2+ and GPLv2+ with exceptions and Public Domain
|
License: GPLv2+ and GPLv2+ with exceptions and Public Domain
|
||||||
|
@ -403,7 +403,7 @@ perl -p -i -e 's/(\#.{500}).*$/$1 .../' %{buildroot}/lib/udev/rules.d/60-libsane
|
||||||
sed -i '/^%dir/d' sane-backends.lang
|
sed -i '/^%dir/d' sane-backends.lang
|
||||||
|
|
||||||
%post -n saned
|
%post -n saned
|
||||||
%_post_service saned
|
%_post_service xinetd
|
||||||
|
|
||||||
%pre -n saned
|
%pre -n saned
|
||||||
# Add saned to group scanner, cdwriter and usb for scanner access.
|
# Add saned to group scanner, cdwriter and usb for scanner access.
|
||||||
|
@ -411,10 +411,10 @@ sed -i '/^%dir/d' sane-backends.lang
|
||||||
#%_pre_useradd saned /etc/sane.d /bin/false
|
#%_pre_useradd saned /etc/sane.d /bin/false
|
||||||
|
|
||||||
%preun -n saned
|
%preun -n saned
|
||||||
%_preun_service saned
|
%_preun_service xinetd
|
||||||
|
|
||||||
%postun -n saned
|
%postun -n saned
|
||||||
%_postun_userdel saned
|
%_postun_userdel xinetd
|
||||||
|
|
||||||
%pre backends
|
%pre backends
|
||||||
%_pre_groupadd scanner
|
%_pre_groupadd scanner
|
||||||
|
|
Loading…
Add table
Reference in a new issue