aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-07-21 17:34:23 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-07-21 17:34:23 -0300
commit7bc0becc46c377010ab32a794fdba68e214aefd5 (patch)
tree044f471afd960835f852dfc1c8718c7323712f14 /files
parentf6ff8590063ece57e149042aae55657053c13e8b (diff)
downloadpuppet-drupal-7bc0becc46c377010ab32a794fdba68e214aefd5.tar.gz
puppet-drupal-7bc0becc46c377010ab32a794fdba68e214aefd5.tar.bz2
Fix: typo (2)
Diffstat (limited to 'files')
-rwxr-xr-xfiles/drupal2
1 files changed, 1 insertions, 1 deletions
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 "<link>" 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 "<link>" | 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 "(?<=<download_link>)[^<]+" | grep -v -- '-dev' | grep -v -- '-alpha' | grep -v -- '-beta' | grep -v -- '-rc' | head -1`"