X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=functions-ipkg;h=23a1e1ab0aa559af4d79f637fdeb1718a662c083;hb=f920c7ef750f2163b9e407cc453b192ede2c185a;hp=10583580e6ec1802186dc0ec7d6f702abfec3628;hpb=821ad284a625db292e9425a805e6d84d17b81ec4;p=hvlinux.git diff --git a/functions-ipkg b/functions-ipkg index 1058358..23a1e1a 100644 --- a/functions-ipkg +++ b/functions-ipkg @@ -11,6 +11,7 @@ function_exists() return $? } +unset -f hvpatch_pre unset -f hvconfig_pre unset -f hvconfig_cache unset -f hvconfig_post @@ -127,6 +128,12 @@ ipkg_script() source ${PACKAGE_DEF} fi + # Execute pre-patch function if applicable + if function_exists hvpatch_pre ; then + echo "Running patch pre-script" + hvpatch_pre + fi + hvpatch # Execute pre-configure function if applicable