[arch-commits] Commit in grsec-common/trunk (grsec-common.install)

2015-07-20 Thread Daniel Micay
Date: Tuesday, July 21, 2015 @ 03:12:51
  Author: thestinger
Revision: 137189

grsec-common: stop removing groups

Modified:
  grsec-common/trunk/grsec-common.install

--+
 grsec-common.install |6 --
 1 file changed, 6 deletions(-)

Modified: grsec-common.install
===
--- grsec-common.install2015-07-21 00:52:15 UTC (rev 137188)
+++ grsec-common.install2015-07-21 01:12:51 UTC (rev 137189)
@@ -9,9 +9,3 @@
 post_upgrade() {
   post_install
 }
-
-post_remove() {
-  for group in tpe audit socket-deny-server socket-deny-client 
socket-deny-all; do
-getent group $group /dev/null  groupdel $group
-  done
-}


[arch-commits] Commit in grsec-common/trunk (grsec-common.install)

2014-08-07 Thread Daniel Micay
Date: Friday, August 8, 2014 @ 01:34:33
  Author: thestinger
Revision: 117011

grsec-common: use a consistent coding style

Modified:
  grsec-common/trunk/grsec-common.install

--+
 grsec-common.install |4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Modified: grsec-common.install
===
--- grsec-common.install2014-08-07 22:35:45 UTC (rev 117010)
+++ grsec-common.install2014-08-07 23:34:33 UTC (rev 117011)
@@ -12,8 +12,6 @@
 
 post_remove() {
   for group in tpe audit socket-deny-server socket-deny-client 
socket-deny-all; do
-if getent group $group /dev/null; then
-  groupdel $group
-fi
+getent group $group /dev/null  groupdel $group
   done
 }