debian: Copy the contents of the old ~cloud directory to the new location

Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/aee6fc3b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/aee6fc3b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/aee6fc3b

Branch: refs/heads/ui-multiple-nics
Commit: aee6fc3bced4c56d0bf3e969e368f14e20d11d36
Parents: c98244f
Author: Wido den Hollander <[email protected]>
Authored: Tue Mar 12 10:24:44 2013 +0100
Committer: Wido den Hollander <[email protected]>
Committed: Tue Mar 12 14:26:10 2013 +0100

----------------------------------------------------------------------
 debian/cloudstack-management.postinst |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/aee6fc3b/debian/cloudstack-management.postinst
----------------------------------------------------------------------
diff --git a/debian/cloudstack-management.postinst 
b/debian/cloudstack-management.postinst
index 5b6b4b3..7b6a1ed 100644
--- a/debian/cloudstack-management.postinst
+++ b/debian/cloudstack-management.postinst
@@ -20,7 +20,7 @@ if [ "$1" = configure ]; then
     if ! getent passwd cloud >/dev/null; then
         adduser --quiet --system --group --no-create-home --home 
/var/lib/cloudstack/management cloud
     else
-        usermod -m /var/lib/cloudstack/management cloud
+        usermod -m -d /var/lib/cloudstack/management cloud
     fi
     chown cloud /var/log/cloudstack/management
-fi
+fi
\ No newline at end of file

Reply via email to