Bug 57227 - app-misc/bins explicitly puts files into /usr/local
|
Bug#:
57227
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: perl@gentoo.org
|
Reported By: RAGermany@gmx.net
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: app-misc/bins explicitly puts files into /usr/local
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-07-15 14:29 0000
|
While looking at my /usr/local I found out that app-misc/bins installed its
templates and locale into /usr/local/share instead of /usr/share. Looking at
the ebuild shows that the files were put there intentionally althogh /usr/local
should never be touched by ebuilds in the portage tree (except baselayout).
Here is the relevant section:
src_install() {
echo "" |env DESTDIR=${D} PREFIX="/usr" ./install.sh || die
# Fix for pathing
for i in `grep -l portage ${D}/usr/bin/*`; do
sed -i -e "s:${D}:/:" ${i}
done
mkdir ${D}/usr/local
mv ${D}/usr/share ${D}/usr/local/
sed -i -e "s:/usr/share:/usr/local/share:" ${D}/usr/bin/bins
}
Reproducible: Always
Steps to Reproduce:
1. emerge app-misc/bins
Actual Results:
The bins templates and locale are installed into /usr/local/share
Expected Results:
Templates and locale should be under /usr/share
wow, the maintainer's a surprise
I thought the same thing. Never seen Aron make mistakes like this...
has nothing to do with Aron
was introduced with 1.1.26 and Bug 52088
I am the original reporter of bug 52088. Note, that I tried to pursuade Michael
to use /usr/share instead of /usr/local/share (see bug 52088 comment 2 point
#2). To which Michael replied that /usr/local came from upstream (see bug 52088
comment 3). Sorry if I caused any problems (sheephish grin).
my head on a platter is now committed.