Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 266881 | Differences between
and this patch

Collapse All | Expand All

(-)vsftpd-2.1.0.ebuild.orig (-2 / +2 lines)
Lines 85-94 Link Here
85
}
85
}
86
86
87
pkg_preinst() {
87
pkg_preinst() {
88
	# If we use xinetd, then we comment out listen=YES
88
	# If we use xinetd, then we set listen=NO
89
	# so that our default config works under xinetd - fixes #78347
89
	# so that our default config works under xinetd - fixes #78347
90
	if use xinetd ; then
90
	if use xinetd ; then
91
		sed -i '/\listen=YES/s/^/#/g' "${D}"/etc/vsftpd/vsftpd.conf.example
91
		sed -i 's/listen=YES/listen=NO/g' "${D}"/etc/vsftpd/vsftpd.conf.example
92
	fi
92
	fi
93
}
93
}
94
94

Return to bug 266881