You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by wi...@apache.org on 2015/03/05 16:27:22 UTC
[04/13] git commit: updated refs/heads/master to 8e5fefc
Use /bin/sh and set -e uniformly in maintainer scripts.
Signed-off-by: Wido den Hollander <wi...@widodh.nl>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/71b42e26
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/71b42e26
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/71b42e26
Branch: refs/heads/master
Commit: 71b42e266f042e044e8a1b628cc28af2dff93dff
Parents: 6ce9729
Author: Felix Geyer <fe...@credativ.de>
Authored: Mon Feb 16 14:05:15 2015 +0100
Committer: Wido den Hollander <wi...@widodh.nl>
Committed: Thu Mar 5 14:35:53 2015 +0100
----------------------------------------------------------------------
debian/cloudstack-agent.postinst | 2 +-
debian/cloudstack-management.postinst | 5 ++++-
debian/cloudstack-usage.postinst | 2 +-
3 files changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/71b42e26/debian/cloudstack-agent.postinst
----------------------------------------------------------------------
diff --git a/debian/cloudstack-agent.postinst b/debian/cloudstack-agent.postinst
index 2a938ad..9cb178d 100644
--- a/debian/cloudstack-agent.postinst
+++ b/debian/cloudstack-agent.postinst
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/71b42e26/debian/cloudstack-management.postinst
----------------------------------------------------------------------
diff --git a/debian/cloudstack-management.postinst b/debian/cloudstack-management.postinst
index 2a16bc4..0dbeca9 100644
--- a/debian/cloudstack-management.postinst
+++ b/debian/cloudstack-management.postinst
@@ -1,4 +1,5 @@
-#!/bin/sh -e
+#!/bin/sh
+
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
@@ -16,6 +17,8 @@
# specific language governing permissions and limitations
# under the License.
+set -e
+
if [ "$1" = configure ]; then
if ! getent passwd cloud >/dev/null; then
adduser --quiet --system --group --no-create-home --home /var/lib/cloudstack/management cloud
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/71b42e26/debian/cloudstack-usage.postinst
----------------------------------------------------------------------
diff --git a/debian/cloudstack-usage.postinst b/debian/cloudstack-usage.postinst
index 9452d39..9529711 100644
--- a/debian/cloudstack-usage.postinst
+++ b/debian/cloudstack-usage.postinst
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file