In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/addon-uninstall line 5:
. /usr/lib/addon-common
  ^-------------------^ SC1091 (info): Not following: /usr/lib/addon-common was not specified as input (see shellcheck -x).


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/addon-uninstall line 6:
. /usr/lib/addon-apache-config
  ^--------------------------^ SC1091 (info): Not following: /usr/lib/addon-apache-config was not specified as input (see shellcheck -x).


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/addon-uninstall line 8:
[ $# -eq 1 ] && [ "$1" ] || {
             ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/addon-uninstall line 15:
is_package_name_valid "$1" result || fail_errorcode $ERR_INVALID_PKG_NAME     "Failed to validate package name: $1"
                                                    ^-------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
is_package_name_valid "$1" result || fail_errorcode "$ERR_INVALID_PKG_NAME"     "Failed to validate package name: $1"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/addon-uninstall line 17:
[ $result -eq $TRUE ] || fail_errorcode $ERR_INVALID_PKG_NAME     "Package name $1 contains illegal characters only [a-z0-9.+-] is allowed"
  ^-----^ SC2154 (warning): result is referenced but not assigned.
  ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
              ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                        ^-------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
[ "$result" -eq "$TRUE" ] || fail_errorcode "$ERR_INVALID_PKG_NAME"     "Package name $1 contains illegal characters only [a-z0-9.+-] is allowed"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/addon-uninstall line 26:
is_package_installed $APPNAME result || fail_errorcode $ERR_INSTALL_ERROR     "Failed to check if Add-on package $APPNAME is installed"
                     ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                       ^----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
is_package_installed "$APPNAME" result || fail_errorcode "$ERR_INSTALL_ERROR"     "Failed to check if Add-on package $APPNAME is installed"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/addon-uninstall line 28:
[ $result -eq $TRUE ] || fail_errorcode $ERR_ADDON_NOT_FOUND     "Add-on $APPNAME is not installed"
  ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
              ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                        ^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
[ "$result" -eq "$TRUE" ] || fail_errorcode "$ERR_ADDON_NOT_FOUND"     "Add-on $APPNAME is not installed"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/addon-uninstall line 31:
! systemctl -q is-active $service || {
                         ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
! systemctl -q is-active "$service" || {


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/addon-uninstall line 33:
	systemctl stop $APPNAME ||
                       ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	systemctl stop "$APPNAME" ||


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/addon-uninstall line 34:
		fail_errorcode $ERR_UNINSTALL_ERROR "Failed to stop $APPNAME"
                               ^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		fail_errorcode "$ERR_UNINSTALL_ERROR" "Failed to stop $APPNAME"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/addon-uninstall line 37:
create_addon_lock $APPNAME
                  ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
create_addon_lock "$APPNAME"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/addon-uninstall line 39:
remove_rewrite_conf_symlinks $APPNAME
                             ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
remove_rewrite_conf_symlinks "$APPNAME"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/addon-uninstall line 41:
remove_service $APPNAME
               ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
remove_service "$APPNAME"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/addon-uninstall line 43:
remove_pkg $APPNAME
           ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
remove_pkg "$APPNAME"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/addon-uninstall line 45:
remove_apac_grant $APPNAME
                  ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
remove_apac_grant "$APPNAME"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/addon-uninstall line 47:
remove_addon_folder $APPNAME
                    ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
remove_addon_folder "$APPNAME"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/addon-uninstall line 49:
remove_addon_web_folder_symlink $APPNAME
                                ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
remove_addon_web_folder_symlink "$APPNAME"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/addon-uninstall line 51:
remove_addon_url_alias $APPNAME
                       ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
remove_addon_url_alias "$APPNAME"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/addon-uninstall line 53:
remove_addon_configuration $APPNAME
                           ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
remove_addon_configuration "$APPNAME"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/addon-uninstall line 57:
disable_dbus_conf_for_cb $APPNAME
                         ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
disable_dbus_conf_for_cb "$APPNAME"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/addon-uninstall line 59:
remove_addon_lock $APPNAME
                  ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
remove_addon_lock "$APPNAME"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/addon-uninstall line 61:
remove_manifest $APPNAME
                ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
remove_manifest "$APPNAME"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/addon-uninstall line 63:
check_remove_unsigned_from_list $APPNAME
                                ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
check_remove_unsigned_from_list "$APPNAME"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/addon-uninstall line 65:
append_to_preinstall_blacklist $APPNAME
                               ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
append_to_preinstall_blacklist "$APPNAME"

For more information:
  https://www.shellcheck.net/wiki/SC2154 -- result is referenced but not assi...
  https://www.shellcheck.net/wiki/SC1091 -- Not following: /usr/lib/addon-apa...
  https://www.shellcheck.net/wiki/SC2015 -- Note that A && B || C is not if-t...