Merge pull request #270 from truecharts/hotpatch

fix: always run hotpatcher
This commit is contained in:
Kjeld Schouten-Lebbing 2022-12-26 19:21:05 +01:00 committed by GitHub
commit e9939aec0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,14 +131,14 @@ title
[[ "$enableUpdate" == "true" ]] && updater "$@"
## Always check if a hotpatch needs to be applied
hotpatch
# Show menu if menu flag is set
if [[ "$no_args" == "true" ]]; then
no_args
fi
## Always check if a hotpatch needs to be applied
hotpatch
## Exit if incompatable functions are called
[[ "$update_all_apps" == "true" && "$update_apps" == "true" ]] && echo -e "-U and -u cannot BOTH be called" && exit