git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c569f7
)
Don't overwrite an existing /etc/xinetd.d/swat on install file since we
author
Tim Potter
<tpot@samba.org>
Tue, 4 Sep 2001 07:43:50 +0000
(07:43 +0000)
committer
Tim Potter
<tpot@samba.org>
Tue, 4 Sep 2001 07:43:50 +0000
(07:43 +0000)
don't overwrite it on upgrade.
Does this make sense?
(This used to be commit
90b3dccfd421bac6516c298f85fcccc857c57989
)
packaging/RedHat/samba2.spec.tmpl
patch
|
blob
|
history
diff --git
a/packaging/RedHat/samba2.spec.tmpl
b/packaging/RedHat/samba2.spec.tmpl
index 73c2a3e985157159ef36e229565d9386ac8f74c4..c99b91238252cb62ce284baf8792b226af2db9e5 100644
(file)
--- a/
packaging/RedHat/samba2.spec.tmpl
+++ b/
packaging/RedHat/samba2.spec.tmpl
@@
-308,8
+308,8
@@
if [ -f /etc/inetd.conf ]; then
fi
# Add swat entry to xinetd.d if needed.
-if [ -d $RPM_BUILD_ROOT/etc/xinetd.d ]; then
- mv /etc/samba/samba.xinetd /etc/xinetd.d/swat
+if [ -d $RPM_BUILD_ROOT/etc/xinetd.d
-a ! -f /etc/xinetd.d/swat
]; then
+
mv /etc/samba/samba.xinetd /etc/xinetd.d/swat
else
rm -f /etc/samba/samba.xinetd
fi