forked from alnux/aps
pass package path as argument for package scripts
This commit is contained in:
parent
2ac9696aa9
commit
76e7125149
1 changed files with 1 additions and 1 deletions
2
aps.sh
2
aps.sh
|
@ -77,7 +77,7 @@ add_package_to_database() {
|
||||||
run_package_script() {
|
run_package_script() {
|
||||||
if [ -x "${AL_PKG_PACKAGE_PATH}/${1}" ]; then
|
if [ -x "${AL_PKG_PACKAGE_PATH}/${1}" ]; then
|
||||||
echo ":: Running ${1} script for target ${AL_PKG_NAME}..."
|
echo ":: Running ${1} script for target ${AL_PKG_NAME}..."
|
||||||
. "${AL_PKG_PACKAGE_PATH}/${1}" ${AL_INSTALL_ROOT}
|
. "${AL_PKG_PACKAGE_PATH}/${1}" ${AL_INSTALL_ROOT} ${AL_PKG_PACKAGE_PATH}
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue