mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-20 04:26:25 +00:00
remove install files as soon as we're done with them
This commit is contained in:
@@ -18,6 +18,7 @@ set -u
|
||||
# Install flutter #
|
||||
###################
|
||||
|
||||
common_flutter_home="${HOME}/.local/opt/flutter"
|
||||
new_flutter_home="${HOME}/.local/opt/flutter-v${WEBI_VERSION}"
|
||||
new_flutter="${HOME}/.local/opt/flutter-v${WEBI_VERSION}/bin/flutter"
|
||||
|
||||
@@ -53,6 +54,7 @@ pushd "${WEBI_TMP}" 2>&1 >/dev/null
|
||||
cp -Hr ./flutter*/* "$new_flutter_home/" 2>/dev/null
|
||||
cp -Hr ./flutter*/.* "$new_flutter_home/" 2>/dev/null
|
||||
fi
|
||||
rm -rf ./flutter*
|
||||
popd 2>&1 >/dev/null
|
||||
|
||||
###################
|
||||
|
||||
@@ -83,6 +83,7 @@ pushd "$WEBI_TMP" 2>&1 >/dev/null
|
||||
cp -Hr ./go*/* "$new_go_home/" 2>/dev/null
|
||||
cp -Hr ./go*/.* "$new_go_home/" 2>/dev/null
|
||||
fi
|
||||
rm -rf ./go*
|
||||
|
||||
# Install x go
|
||||
$new_go_home/bin/go get golang.org/x/tools/cmd/goimports > /dev/null 2>/dev/null
|
||||
|
||||
@@ -133,6 +133,7 @@ pushd "$WEBI_TMP" 2>&1 >/dev/null
|
||||
cp -Hr ./node*/* "$new_node_home/" 2>/dev/null
|
||||
cp -Hr ./node*/.* "$new_node_home/" 2>/dev/null
|
||||
fi
|
||||
rm -rf ./node*
|
||||
popd 2>&1 >/dev/null
|
||||
|
||||
###################
|
||||
|
||||
Reference in New Issue
Block a user