From 00ec14c0829f9a4edb277a7f33bbdcea7b1ee15f Mon Sep 17 00:00:00 2001 From: Guillaume Rousse Date: Sun, 29 Mar 2009 21:33:00 +0000 Subject: version 0.22.0 --- trunk/add-webapp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 trunk/add-webapp (limited to 'trunk/add-webapp') diff --git a/trunk/add-webapp b/trunk/add-webapp new file mode 100755 index 0000000..6468280 --- /dev/null +++ b/trunk/add-webapp @@ -0,0 +1,15 @@ +#!/bin/sh + +if [ $# != 2 ]; then + echo "usage: $0 " 1>&2 + exit 1 +fi + +pkg=$1 # name of the package +num=$2 # number of packages installed + +if [ $num = 1 ]; then + # installation: restart web server if running, + # as there is a new configuration file + /sbin/service httpd condrestart +fi -- cgit v1.2.1