inotify-tools: fix check_update

Remove empty lines from results so cut doesn't choke on them.

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
David Oberhollenzer 2019-03-30 11:14:53 +01:00
parent 94ccf6d7e2
commit e8542cacc0
1 changed files with 1 additions and 1 deletions

View File

@ -21,6 +21,6 @@ deploy() {
check_update() {
curl --silent -L "https://github.com/rvoicilas/inotify-tools/releases" |\
grep -o "tag/[0-9.]*" | sed 's#tag/##g' | \
grep -o "tag/[0-9.]*" | sed 's#tag/##g' | sed '/^$/d' |\
verson_find_greatest "$VERSION"
}