...
now with even more checks \o/
...
- bunch of return 1 -> return ${RET_FAILED}
- update_advisories()
- find_ssa()
- SSA ID printing
- skip version_checker() if version & rev are exactly the same
changed the architecture check to use $MACHTYPE. one additional check to get_file().
split the package processing from security_update() to it's own function process_packages().
split the print summary from security_update() to it's own function print_upgrade_summary().
changed few &&'s to if .. then .. else.
modified one regex so that package with revision such as "3_slack_13.37" get updated.
reworked the register_prog() function according to Bash Hackers Wiki's instructions/recommendations.
meh. fixed an embarrasing bug.
cleanups and stuff.
...
...
...
fixed the use of unbound variable. not sure if it matters much though...
fixed the use of unbound variables.
changed the way UPDATES array is used.
wrote some documentation about how the script works. cleaned up so if's.