projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9071929
)
a touch should not obliterate
author
jeff
<jeff>
Fri, 13 Jul 2007 17:00:13 +0000
(17:00 +0000)
committer
jeff
<jeff>
Fri, 13 Jul 2007 17:00:13 +0000
(17:00 +0000)
FS/FS/Conf.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Conf.pm
b/FS/FS/Conf.pm
index
66fd9b3
..
1851c4d
100644
(file)
--- a/
FS/FS/Conf.pm
+++ b/
FS/FS/Conf.pm
@@
-179,7
+179,9
@@
sub touch {
return $self->_usecompat('touch', @_) if use_confcompat;
my($name, $agent) = @_;
return $self->_usecompat('touch', @_) if use_confcompat;
my($name, $agent) = @_;
- $self->set($name, '', $agent);
+ unless ( $self->exists($name, $agent) ) {
+ $self->set($name, '', $agent);
+ }
}
=item set KEY VALUE
}
=item set KEY VALUE