SHA256
1
0
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:
Darragh O'Reilly 2024-01-23 14:28:17 +00:00 committed by Git OBS Bridge
parent 0c4d6def1a
commit 7e4a12a3fa
2 changed files with 7 additions and 2 deletions

View File

@ -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>

View File

@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# 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
%endif
%if "%{_vendor}" != "debbuild"
%if "%{_vendor}" == "debbuild"
%postun
# Automatically added by dh_installsystemd/13.11.4
if [ "$1" = remove ] && [ -d /run/systemd/system ] ; then