Compare commits

..

No commits in common. "master" and "v0.3" have entirely different histories.
master ... v0.3

2 changed files with 3 additions and 9 deletions

View File

@ -1,7 +1,7 @@
2014-01-03
Version 0.1 - First release of the plugin
2014-01-04
2013-01-04
Version 0.2 - Fixed two bugs, whereas one important
1. In case there more than one wheater alert for the specified
region, the script would bug out. Fixed by adding 'head -n1'
@ -10,11 +10,6 @@ Version 0.2 - Fixed two bugs, whereas one important
message they would output as their HTML-equivalent. Fixed
with another sed substitue command.
2014-01-09
2013-01-09
Version 0.3 - SMHI has changed österlen to Österlen in the text. Updated this
in the hardcoded region/district names.
2014-01-09
Version 0.4 - Fixed an important bug. If the district/region did not exist
the script exited with a status 0 (OK). This should be status 3
(Unknown). This is now fixed.

View File

@ -21,7 +21,7 @@
################################################################################
# check_smhi
Version="0.4"
Version="0.3"
Author="Jack-Benny Persson (jack-benny@cyberinfo.se)"
# Binaries
@ -195,7 +195,6 @@ done
if [ $Match -eq 0 ]; then
echo "District $District does not exist"
print_help
exit $State_unknown
fi