Disable with-fingerprint when with-fingerprint is enabled
This commit is contained in:
parent
db45b954b0
commit
b243a54509
11
fprintd.spec
11
fprintd.spec
@ -1,6 +1,6 @@
|
|||||||
Name: fprintd
|
Name: fprintd
|
||||||
Version: 0.8.1
|
Version: 0.8.1
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: Support for consumer fingerprint reader devices
|
Summary: Support for consumer fingerprint reader devices
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Url: http://www.freedesktop.org/wiki/Software/fprint/fprintd
|
Url: http://www.freedesktop.org/wiki/Software/fprint/fprintd
|
||||||
@ -53,7 +53,11 @@ install -d %{buildroot}%{_localstatedir}/lib/fprint
|
|||||||
%postun
|
%postun
|
||||||
if [ $1 -eq 0 ]
|
if [ $1 -eq 0 ]
|
||||||
then
|
then
|
||||||
/bin/authselect disable-feature with-fingerprint || :
|
/bin/authselect current | grep with-fingerprint >/dev/null 2>&1
|
||||||
|
if [ $? -eq 0 ]
|
||||||
|
then
|
||||||
|
/bin/authselect disable-feature with-fingerprint || :
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
@ -77,5 +81,8 @@ fi
|
|||||||
%{_mandir}/man1/fprintd.1.gz
|
%{_mandir}/man1/fprintd.1.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 26 2021 lingsheng <lingsheng@huawei.com> - 0.8.1-5
|
||||||
|
- Disable with-fingerprint when with-fingerprint is enabled
|
||||||
|
|
||||||
* Mon Nov 04 2019 huzhiyu <huzhiyu1@huawei.com> - 0.8.1-4
|
* Mon Nov 04 2019 huzhiyu <huzhiyu1@huawei.com> - 0.8.1-4
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user