diff --git a/velociraptor.changes b/velociraptor.changes index 92514d7..fd35415 100644 --- a/velociraptor.changes +++ b/velociraptor.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 18 15:36:50 UTC 2024 - Antonio Teixeira + +- Fixed Debian %postun scripts being used for other distros. + ------------------------------------------------------------------- Wed Dec 20 21:08:36 UTC 2023 - Jeff Mahoney diff --git a/velociraptor.spec b/velociraptor.spec index 03a246e..e2b4ab1 100644 --- a/velociraptor.spec +++ b/velociraptor.spec @@ -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