]> gitweb.fluxo.info Git - puppet-drupal.git/commitdiff
Fix: typo
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 21 Jul 2020 20:33:15 +0000 (17:33 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 21 Jul 2020 20:33:15 +0000 (17:33 -0300)
files/drupal

index 705c20935d7138b2041401331f93812b2374a76e..7a65c26223a183126df05c7a5b98481dfa00b72a 100755 (executable)
@@ -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>" ~/load/feed | 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`"