pass payload as install target to scripts

This commit is contained in:
hippoz 2021-07-04 18:42:12 +03:00
parent 26fb73344f
commit 1e8f5ea4f2

2
aps
View file

@ -16,7 +16,7 @@ run_package_script() { # --- $2 is the package path, and $1 is the script to run
if [ -x "${2}/${1}" ]; then
echo ":: Running ${1}"
cd "${2}" || die "Could not enter package working directory. Exiting..."
"${2}/${1}" "${install_root}" "${2}"
"${2}/${1}" "${2}/payload" "${2}"
fi
}
}