Code

Finally updated trigger in postinst
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Sun, 17 Oct 2010 10:15:27 +0000 (10:15 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Sun, 17 Oct 2010 10:15:27 +0000 (10:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@20069 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/debian/gosa.postinst

index 285905d2c0146344c758b37da82d8e7e62315667..edf307e373202935846a278f47bff367477f5861 100644 (file)
@@ -13,17 +13,7 @@ case "$1" in
       ;;
 
   triggered)
-      for triggername in $2; do
-          case "$triggername" in
-              "update-gosa")
-                /usr/sbin/update-gosa
-                ;;
-          *)
-              echo "unhandled/unknown trigger!"
-              exit 1
-              ;;
-          esac
-      done
+      /usr/sbin/update-gosa
       ;;
 
   *)