diff options
author | Renat Lumpau <rl03@gentoo.org> | 2004-09-03 07:22:23 +0000 |
---|---|---|
committer | Renat Lumpau <rl03@gentoo.org> | 2004-09-03 07:22:23 +0000 |
commit | 322895c1713311b785a8a70917aa5296606be9ad (patch) | |
tree | 55b2b05aa63c5c27afa150e37df1e74fe4458fc4 /www-apps/otrs/files | |
parent | Checked if the reconfig hook needs to cleanup---no, it doesn't (Manifest reco... (diff) | |
download | gentoo-2-322895c1713311b785a8a70917aa5296606be9ad.tar.gz gentoo-2-322895c1713311b785a8a70917aa5296606be9ad.tar.bz2 gentoo-2-322895c1713311b785a8a70917aa5296606be9ad.zip |
The reconfig hook now cleans up after itself
Diffstat (limited to 'www-apps/otrs/files')
-rw-r--r-- | www-apps/otrs/files/reconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www-apps/otrs/files/reconfig b/www-apps/otrs/files/reconfig index 6a3319d9b2a6..d4d9fe91f21f 100644 --- a/www-apps/otrs/files/reconfig +++ b/www-apps/otrs/files/reconfig @@ -2,6 +2,6 @@ if [ $1 = "start" -o $1 = "install" ]; then sed -i "s|/opt/otrs|${VHOST_ROOT}|" ${VHOST_ROOT}/Kernel/Config.pm.dist ${VHOST_ROOT}/scripts/* -else - echo $1 +elif [ $1 = "clean" ]; then + rm -f ${VHOST_ROOT}/scripts/* fi |