From 1e8f5ea4f2a28721cd70a408ca621d55c8836fe2 Mon Sep 17 00:00:00 2001 From: hippoz Date: Sun, 4 Jul 2021 18:42:12 +0300 Subject: [PATCH] pass payload as install target to scripts --- aps | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aps b/aps index d7a4466..a7f9ad3 100644 --- a/aps +++ b/aps @@ -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 } }