summaryrefslogtreecommitdiffhomepage
path: root/pkg.build
diff options
context:
space:
mode:
Diffstat (limited to 'pkg.build')
-rw-r--r--pkg.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg.build b/pkg.build
index 50cd17a8..0123c490 100644
--- a/pkg.build
+++ b/pkg.build
@@ -3,7 +3,9 @@
#
parse_with_pkg_name ${SCRIPT_FNAME%%[0-9][0-9].*} ${2} ${PKG_BUILD_NAMES};
-if [ "${ARG_RESTART_SCRIPT_AT}" = diff ]; then
+if [ ${PKG_DISABLED:-0} -eq 1 ]; then
+ exit 0;
+elif [ "${ARG_RESTART_SCRIPT_AT}" = diff ]; then
printf "" > ${MIDIPIX_BUILD_PWD}/${PKG_SUBDIR}.local.patch.new;
for __ in $(find ${PKG_SUBDIR} -name \*.orig); do
if [ -e ${__%.orig} ]; then