Created
November 24, 2009 13:45
-
-
Save koke/241870 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- ebox-remoteservices-1.3.10.orig/debian/ebox-remoteservices.postinst | |
+++ ebox-remoteservices-1.3.10/debian/ebox-remoteservices.postinst | |
@@ -0,0 +1,20 @@ | |
+#!/bin/bash | |
+ | |
+#DEBHELPER# | |
+ | |
+case "$1" in | |
+ configure) | |
+ kill `pidof gconfd-2` >/dev/null 2>&1 || true | |
+ | |
+ # Migrate data if needed | |
+ /usr/share/ebox/ebox-migrate /usr/share/ebox-remoteservices/migration/ | |
+ | |
+ # Restart eBox apache | |
+ invoke-rc.d ebox apache restart || true | |
+ | |
+ ;; | |
+esac | |
+ | |
+ | |
+ | |
+exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment