Lines 76-83
install_qa_check_prefix() {
Link Here
|
76 |
fi |
76 |
fi |
77 |
continue |
77 |
continue |
78 |
fi |
78 |
fi |
79 |
# unprefixed shebang, is the script directly in $PATH? |
79 |
# unprefixed shebang, is the script directly in $PATH or an init |
80 |
if [[ ":${PATH}:" == *":${fp}:"* ]] ; then |
80 |
# script? |
|
|
81 |
if [[ ":${PATH}:${EPREFIX}/etc/init.d:" == *":${fp}:"* ]] ; then |
81 |
if [[ -e ${EROOT}${line[0]} || -e ${ED}${line[0]} ]] ; then |
82 |
if [[ -e ${EROOT}${line[0]} || -e ${ED}${line[0]} ]] ; then |
82 |
# is it unprefixed, but we can just fix it because a |
83 |
# is it unprefixed, but we can just fix it because a |
83 |
# prefixed variant exists |
84 |
# prefixed variant exists |