Skip to content

Instantly share code, notes, and snippets.

@stevenuray
Created July 5, 2018 21:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevenuray/b4ea432e201ac663e19d2bd9dae1c736 to your computer and use it in GitHub Desktop.
Save stevenuray/b4ea432e201ac663e19d2bd9dae1c736 to your computer and use it in GitHub Desktop.
Dockerlith Lock Script Dependency Update Check
check_npm_libraries() {
if [ ! -f $MD5_FILE ] || ! md5sum -c --status <<<"$(cat $MD5_FILE)"; then
echo "INVALID"
else
echo "VALID"
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment