#!/bin/bash

set -eo pipefail

main() {
	local filename="shellcheck_0.4.4-3_amd64.deb"
	wget "http://ftp.debian.org/debian/pool/main/s/shellcheck/$filename"
	sudo dpkg -i "$filename"
}

main

#!/bin/bash

set -eo pipefail

SHELLCHECK_VERSION="0.4.4-4"

main() {
	local filename="shellcheck_${SHELLCHECK_VERSION}_amd64.deb"
	wget "http://ftp.debian.org/debian/pool/main/s/shellcheck/$filename"
	sudo dpkg -i "$filename"
}

main

Update to latest version and clean up.
Update to latest version and clean up.
