|
Lucio Andrés Illanes Albornoz |
378fac |
#
|
|
Lucio Andrés Illanes Albornoz |
378fac |
# set -o errexit -o noglob are assumed.
|
|
Lucio Andrés Illanes Albornoz |
378fac |
#
|
|
Lucio Andrés Illanes Albornoz |
378fac |
|
|
Lucio Andrés Illanes Albornoz |
378fac |
pkg_install_pre() {
|
|
Lucio Andrés Illanes Albornoz |
378fac |
if [ "${PKG_NAME%flavour_minipix}" != "${PKG_NAME}" ] \
|
|
Lucio Andrés Illanes Albornoz |
90afa2 |
&& [ ${ARG_DEBUG_MINIPIX:-0} -eq 0 ] \
|
|
Lucio Andrés Illanes Albornoz |
90afa2 |
&& [ -e "${PREFIX_MINIPIX}" ]; then
|
|
Lucio Andrés Illanes Albornoz |
378fac |
find "${PREFIX_MINIPIX}" -perm /a=x \
|
|
Lucio Andrés Illanes Albornoz |
378fac |
\( -type f -or -type l \) > "${WORKDIR}/.stat_minipix.old";
|
|
Lucio Andrés Illanes Albornoz |
90afa2 |
elif [ "${BUILD}" = release ] \
|
|
Lucio Andrés Illanes Albornoz |
90afa2 |
&& [ -e "${PREFIX_NATIVE}/bin" ]; then
|
|
Lucio Andrés Illanes Albornoz |
378fac |
find "${PREFIX_NATIVE}/bin" -perm /a=x \
|
|
Lucio Andrés Illanes Albornoz |
378fac |
\( -type f -or -type l \) > "${WORKDIR}/.stat_native.old";
|
|
Lucio Andrés Illanes Albornoz |
378fac |
fi;
|
|
Lucio Andrés Illanes Albornoz |
378fac |
};
|
|
Lucio Andrés Illanes Albornoz |
378fac |
|
|
Lucio Andrés Illanes Albornoz |
378fac |
# vim:filetype=sh
|