diff options
author | Daniel Joseph Barnhart Clark <dclark@pobox.com> | 2009-11-06 14:52:55 +0000 |
---|---|---|
committer | Daniel Joseph Barnhart Clark <dclark@pobox.com> | 2009-11-06 14:52:55 +0000 |
commit | e622f4d0b27ab40c7deb94c82eb5403879696f65 (patch) | |
tree | 44d76e05bd73d4a8dd1a3579a5cd83f275427818 | |
parent | 992d469e00d3c70b66c1d960e5c9587ec55baceb (diff) | |
download | bcfg2-e622f4d0b27ab40c7deb94c82eb5403879696f65.tar.gz bcfg2-e622f4d0b27ab40c7deb94c82eb5403879696f65.tar.bz2 bcfg2-e622f4d0b27ab40c7deb94c82eb5403879696f65.zip |
Applied minor cosmetic change patch from Sami Haahtinen (mailing list)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5555 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r-- | debian/bcfg2-server.postinst | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/debian/bcfg2-server.postinst b/debian/bcfg2-server.postinst index 2fea3d9c1..586263152 100644 --- a/debian/bcfg2-server.postinst +++ b/debian/bcfg2-server.postinst @@ -48,9 +48,11 @@ esac ## import Bcfg2.Server.Plugins.Metadata ## ImportError: No module named Server.Plugins.Metadata ## * bcfg2-server -echo "Restarting bcfg2-server after initial install or upgrade..." -/etc/init.d/bcfg2-server restart +case "$1" in + configure) + echo "Restarting bcfg2-server after initial install or upgrade..." + /etc/init.d/bcfg2-server restart + ;; +esac exit 0 - - |