[packages/tcpdump] - userremove macro is already protected against no packages providing user or userdel failure

qboosh qboosh at pld-linux.org
Thu Aug 21 21:38:24 CEST 2014


commit 1a5bfec88b5512da5edf71041554ceff62b3125e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Aug 21 21:38:03 2014 +0200

    - userremove macro is already protected against no packages providing user or userdel failure

 tcpdump.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tcpdump.spec b/tcpdump.spec
index c1b4f4e..afd14a7 100644
--- a/tcpdump.spec
+++ b/tcpdump.spec
@@ -109,7 +109,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %postun
 if [ "$1" = "0" ]; then
-	%userremove tcpdump || :
+	%userremove tcpdump
 fi
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tcpdump.git/commitdiff/1a5bfec88b5512da5edf71041554ceff62b3125e



More information about the pld-cvs-commit mailing list