Add portage bashrc
parent
30192212d8
commit
86a5f887c9
|
@ -0,0 +1,17 @@
|
|||
# vim: set ft=sh :
|
||||
|
||||
post_src_prepare() {
|
||||
if [[ $(type -t epatch_user) = function ]]; then
|
||||
cd "${S}"
|
||||
epatch_user
|
||||
fi
|
||||
}
|
||||
|
||||
case ${EBUILD_PHASE} in
|
||||
preinst|prerm)
|
||||
for fs in / /usr /opt; do
|
||||
mountpoint -q ${fs} || continue
|
||||
test -w ${fs} || mount -oremount,rw ${fs}
|
||||
done
|
||||
;;
|
||||
esac
|
Loading…
Reference in New Issue