File: //usr/local/sbin/up2date-ng
#!/bin/bash
# Description: up2date-ng is a smart tool to perform upgrade of packages with security issues.
# Author: Wiliam Freitas <wiliam.freitas@locaweb.com.br>
function help {
echo -e "UP2DATE - is a smart tool to perform upgrade of packages with security issues\n"
echo -e "Parameters:\n"
echo -e " --run: Run the tool."
echo -e " --h: Show this help.\n"
}
case $1 in
--run) curl http://tools.linux.locaweb.com.br/coreteam/up2date/up2date-ng | bash ;;
*) help ;;
esac