X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;ds=sidebyside;f=flutter%2Finstall.sh;h=82fac2357271e9840c854541607502a0ec29298b;hb=8e5deb39a57bc9a9fa117934f42fed95e1af3c7d;hp=861d67f1f843416f8d6466beb6189fb6e789b9c1;hpb=df64451d4c5aef17b0f52c9d35d290b27202be69;p=webi-installers%2F.git diff --git a/flutter/install.sh b/flutter/install.sh index 861d67f..82fac23 100644 --- a/flutter/install.sh +++ b/flutter/install.sh @@ -10,8 +10,18 @@ set -u # # Their defaults are defined in _webi/template.sh at https://github.com/webinstall/packages +# Every package should define these 6 variables pkg_cmd_name="flutter" +pkg_dst_cmd="$HOME/.local/opt/flutter/bin/flutter" +pkg_dst_dir="$HOME/.local/opt/flutter" +pkg_dst="$pkg_dst_dir" + +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