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

Collapse All | Expand All

(-)a/app-editors/nano/nano-2.7.1.ebuild (+7 lines)
Lines 82-84 src_install() { Link Here
82
	dodir /usr/bin
82
	dodir /usr/bin
83
	dosym /bin/nano /usr/bin/nano
83
	dosym /bin/nano /usr/bin/nano
84
}
84
}
85
86
pkg_preinst() {
87
	if [[ ${EROOT}bin/. -ef ${EROOT}usr/bin/. ]]; then
88
		# found the /bin -> /usr/bin symlink
89
		rm -f "${ED}"usr/bin/nano
90
	fi
91
}
(-)a/app-editors/nano/nano-9999.ebuild (+7 lines)
Lines 82-84 src_install() { Link Here
82
	dodir /usr/bin
82
	dodir /usr/bin
83
	dosym /bin/nano /usr/bin/nano
83
	dosym /bin/nano /usr/bin/nano
84
}
84
}
85
86
pkg_preinst() {
87
	if [[ ${EROOT}bin/. -ef ${EROOT}usr/bin/. ]]; then
88
		# found the /bin -> /usr/bin symlink
89
		rm -f "${ED}"usr/bin/nano
90
	fi
91
}

Return to bug 601060