diff options
author | Donnie Berkholz <spyderous@gentoo.org> | 2005-12-04 23:05:41 +0000 |
---|---|---|
committer | Donnie Berkholz <spyderous@gentoo.org> | 2005-12-04 23:05:41 +0000 |
commit | 3ff4743f6f84f23e97f1240f5eb6cf36ba30e639 (patch) | |
tree | 21f3a544b4a209582f8ca51dc8f15e9bf08ccbc0 /sci-chemistry/webmo | |
parent | Bump for 7.0RC3. (diff) | |
download | gentoo-2-3ff4743f6f84f23e97f1240f5eb6cf36ba30e639.tar.gz gentoo-2-3ff4743f6f84f23e97f1240f5eb6cf36ba30e639.tar.bz2 gentoo-2-3ff4743f6f84f23e97f1240f5eb6cf36ba30e639.zip |
Don't overwrite the actual .int file, copy into ._cfg* for etc-update.
(Portage version: 2.0.53)
Diffstat (limited to 'sci-chemistry/webmo')
-rw-r--r-- | sci-chemistry/webmo/ChangeLog | 5 | ||||
-rw-r--r-- | sci-chemistry/webmo/files/reconfig | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/sci-chemistry/webmo/ChangeLog b/sci-chemistry/webmo/ChangeLog index ea396c15a65f..0e1fcc823d94 100644 --- a/sci-chemistry/webmo/ChangeLog +++ b/sci-chemistry/webmo/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-chemistry/webmo # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/webmo/ChangeLog,v 1.3 2005/12/04 22:36:23 spyderous Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/webmo/ChangeLog,v 1.4 2005/12/04 23:05:41 spyderous Exp $ + + 04 Dec 2005; Donnie Berkholz <spyderous@gentoo.org>; files/reconfig: + Don't overwrite the actual .int file, copy into ._cfg* for etc-update. 04 Dec 2005; Donnie Berkholz <spyderous@gentoo.org>; +files/reconfig: Add hook script, to be run when installing to live host. diff --git a/sci-chemistry/webmo/files/reconfig b/sci-chemistry/webmo/files/reconfig index 29287760cdb2..c8c769cddf17 100644 --- a/sci-chemistry/webmo/files/reconfig +++ b/sci-chemistry/webmo/files/reconfig @@ -15,7 +15,7 @@ if [ $1 = "install" ]; then realfile=${file#._cfg*_} enabled_file=${realfile%.disabled} if [[ -e ${enabled_file} ]]; then - enabled_cfgfile=${enabled_file%.disabled} + enabled_cfgfile=${file%.disabled} mv ${file} ${enabled_cfgfile} fi done |