forked from pool/velociraptor
Accepting request 1139763 from home:ateixeira:branches:security:sensor
- Fixed Debian %postun scripts being used for other distros. OBS-URL: https://build.opensuse.org/request/show/1139763 OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=60
This commit is contained in:
parent
0c4d6def1a
commit
7e4a12a3fa
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 18 15:36:50 UTC 2024 - Antonio Teixeira <antonio.teixeira@suse.com>
|
||||||
|
|
||||||
|
- Fixed Debian %postun scripts being used for other distros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 20 21:08:36 UTC 2023 - Jeff Mahoney <jeffm@suse.com>
|
Wed Dec 20 21:08:36 UTC 2023 - Jeff Mahoney <jeffm@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -1223,7 +1223,7 @@ install -D -m 0755 output/velociraptor-v%{version}-linux-* %buildroot/%{_bindir}
|
|||||||
%service_del_postun %{name}.service
|
%service_del_postun %{name}.service
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if "%{_vendor}" != "debbuild"
|
%if "%{_vendor}" == "debbuild"
|
||||||
%postun
|
%postun
|
||||||
# Automatically added by dh_installsystemd/13.11.4
|
# Automatically added by dh_installsystemd/13.11.4
|
||||||
if [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
|
if [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user