-
-
Save paddydoyle/278ffaa7428ec95e4bd3fe150111aaeb to your computer and use it in GitHub Desktop.
Check whether Drupal 7.59 and 8.5.3 are released
This file contains hidden or 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 | |
url="https://ftp.drupal.org/files/projects/drupal-7.59.tar.gz"; | |
if curl --output /dev/null --silent --head --fail "$url"; then | |
zenity --notification --text 'Drupal 7 Patch Live'; | |
else | |
echo "URL does not exist: $url"; | |
fi; | |
url="https://ftp.drupal.org/files/projects/drupal-8.5.3.tar.gz"; | |
if curl --output /dev/null --silent --head --fail "$url"; then | |
zenity --notification --text 'Drupal 8 Patch Live'; | |
else | |
echo "URL does not exist: $url"; | |
fi; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment