Updated hvirt devconfig
[invirt/packages/hvirt-config.git] / debian / hvirt-devconfig.postinst
index b9d7c64..3f448f8 100755 (executable)
@@ -20,21 +20,12 @@ set -e
 
 case "$1" in
     configure)
 
 case "$1" in
     configure)
-       # Regen invirt config
-       if hash invoke-rc.d; then
-            invoke-rc.d invirt-base reload
-        else
-            /etc/init.d/invirt-base reload
-        fi
+        invirt-reload
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)
     ;;
 
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)
     ;;
 
-    triggered)
-        invirt-reload
-    ;;
-
     *)
         echo "postinst called with unknown argument \`$1'" >&2
         exit 1
     *)
         echo "postinst called with unknown argument \`$1'" >&2
         exit 1
@@ -47,5 +38,3 @@ esac
 #DEBHELPER#
 
 exit 0
 #DEBHELPER#
 
 exit 0
-
-