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
#!/bin/sh | |
if ! lsb_release -sr | grep 14.04 > /dev/null; then | |
echo "This script is made for Ubuntu 14.04, this probably won't work." | |
echo -p "Do you want to try it anyway? (y/n) " -n 1 -r | |
if [[ ! $REPLY =~ ^[Yy]$ ]]; then | |
exit 1 | |
fi | |
fi |