Created
July 5, 2018 21:16
-
-
Save stevenuray/b4ea432e201ac663e19d2bd9dae1c736 to your computer and use it in GitHub Desktop.
Dockerlith Lock Script Dependency Update Check
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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