X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=flutter%2Finstall.sh;h=9626eb36f987a62f0f91707adc9338ac44a1f28d;hb=0ce7e4951b7706a46981b407bd1446e2b753153d;hp=82fac2357271e9840c854541607502a0ec29298b;hpb=8b96119dc9bf00db9224a2bbe8b88b6b17eb7234;p=webi-installers%2F.git diff --git a/flutter/install.sh b/flutter/install.sh index 82fac23..9626eb3 100644 --- a/flutter/install.sh +++ b/flutter/install.sh @@ -21,7 +21,6 @@ pkg_src_cmd="$HOME/.local/opt/flutter-v$WEBI_VERSION/bin/flutter" pkg_src_dir="$HOME/.local/opt/flutter-v$WEBI_VERSION" pkg_src="$pkg_src_dir" - pkg_get_current_version() { # 'flutter --version' outputs a lot of information: # Flutter 1.19.0-4.1.pre • channel beta • https://github.com/flutter/flutter.git @@ -30,7 +29,7 @@ pkg_get_current_version() { # Tools • Dart 2.9.0 (build 2.9.0-14.1.beta) # This trims it down to just the version number: # 1.19.0-4.1.pre - echo "$(flutter --version 2>/dev/null | head -n 1 | cut -d' ' -f2)" + echo "$(flutter --version 2> /dev/null | head -n 1 | cut -d' ' -f2)" } pkg_format_cmd_version() {