mirror of
https://github.com/pygos/build.git
synced 2024-11-25 04:20:41 +01:00
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:
parent
94ccf6d7e2
commit
e8542cacc0
1 changed files with 1 additions and 1 deletions
|
@ -21,6 +21,6 @@ deploy() {
|
||||||
|
|
||||||
check_update() {
|
check_update() {
|
||||||
curl --silent -L "https://github.com/rvoicilas/inotify-tools/releases" |\
|
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"
|
verson_find_greatest "$VERSION"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue