From 7bc0becc46c377010ab32a794fdba68e214aefd5 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 21 Jul 2020 17:34:23 -0300 Subject: Fix: typo (2) --- files/drupal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/drupal b/files/drupal index 7a65c26..d24a5dc 100755 --- a/files/drupal +++ b/files/drupal @@ -174,7 +174,7 @@ function drupal_latest { fi if [ "$series" == "9" ]; then - latest="`wget -O- -q https://www.drupal.org/node/3060/release/feed | grep "" grep "releases/9." | cut -d "/" -f 7 | cut -d '<' -f 1 | sort -r | head -1`" + latest="`wget -O- -q https://www.drupal.org/node/3060/release/feed | grep "" | grep "releases/9." | cut -d "/" -f 7 | cut -d '<' -f 1 | sort -r | head -1`" echo $latest else latest="`wget -O- -q https://updates.drupal.org/release-history/drupal/${series}.x | grep -oPm1 "(?<=)[^<]+" | grep -v -- '-dev' | grep -v -- '-alpha' | grep -v -- '-beta' | grep -v -- '-rc' | head -1`" -- cgit v1.2.3