From aee6fc3bced4c56d0bf3e969e368f14e20d11d36 Mon Sep 17 00:00:00 2001 From: Wido den Hollander Date: Tue, 12 Mar 2013 10:24:44 +0100 Subject: [PATCH] debian: Copy the contents of the old ~cloud directory to the new location --- debian/cloudstack-management.postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/cloudstack-management.postinst b/debian/cloudstack-management.postinst index 5b6b4b351c3..7b6a1ed6d71 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