diff options
author | Renat Lumpau <rl03@gentoo.org> | 2004-09-03 07:32:40 +0000 |
---|---|---|
committer | Renat Lumpau <rl03@gentoo.org> | 2004-09-03 07:32:40 +0000 |
commit | 80f1ceea0acea96a31a482da2453286cd9b3f2a2 (patch) | |
tree | 0f80fdacde821a7c4d6d7b74ebbb46db5218b46c /www-apps | |
parent | gcc-3.4 fix (Manifest recommit) (diff) | |
download | gentoo-2-80f1ceea0acea96a31a482da2453286cd9b3f2a2.tar.gz gentoo-2-80f1ceea0acea96a31a482da2453286cd9b3f2a2.tar.bz2 gentoo-2-80f1ceea0acea96a31a482da2453286cd9b3f2a2.zip |
The reconfig hook now cleans up after itself
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/viewcvs/ChangeLog | 5 | ||||
-rw-r--r-- | www-apps/viewcvs/files/reconfig | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/www-apps/viewcvs/ChangeLog b/www-apps/viewcvs/ChangeLog index 7779964022cf..b570ca801c15 100644 --- a/www-apps/viewcvs/ChangeLog +++ b/www-apps/viewcvs/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-www/viewcvs # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/viewcvs/ChangeLog,v 1.5 2004/09/01 10:56:15 pauldv Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/viewcvs/ChangeLog,v 1.6 2004/09/03 07:32:40 rl03 Exp $ + + 03 Sep 2004; Renat Lumpau <rl03@gentoo.org> files/reconfig: + The reconfig hook now cleans up after itself. *viewcvs-0.9.2_p20040831 (01 Sep 2004) diff --git a/www-apps/viewcvs/files/reconfig b/www-apps/viewcvs/files/reconfig index 97774707fe23..5e0e616b08a6 100644 --- a/www-apps/viewcvs/files/reconfig +++ b/www-apps/viewcvs/files/reconfig @@ -3,4 +3,8 @@ if [ $1 = "start" -o $1 = "install" ]; then find ${VHOST_CGIBINDIR}/${PN} ${VHOST_ROOT}/${PN} -type f | xargs sed -e "s|\(^LIBRARY_DIR\)\(.*\$\)|\1 = \"${VHOST_CGIBINDIR}/${PN}/lib\"|g s,\(^CONF_PATHNAME\)\(.*\$\),\1 = \"${VHOST_ROOT}/${PN}/viewcvs.conf\",g s,\(<VIEWCVS_INSTALL_DIRECTORY>\),${VHOST_ROOT}/${PN},g" -i + +elif [ $1 = "clean" ]; then + rm -rf ${VHOST_CGIBINDIR}/${PN} + rm -rf ${VHOST_ROOT}/${PN}/templates fi |