1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

Don't overwrite an existing /etc/xinetd.d/swat on install file since we

don't overwrite it on upgrade.

Does this make sense?
(This used to be commit 90b3dccfd4)
This commit is contained in:
Tim Potter 2001-09-04 07:43:50 +00:00
parent 8c569f70ee
commit b5b9c46c0f

View File

@ -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