remove install files as soon as we're done with them

This commit is contained in:
AJ ONeal
2020-05-07 02:30:44 +00:00
parent d76c736d74
commit 1c8b477efd
3 changed files with 4 additions and 0 deletions
+2
View File
@@ -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
###################
+1
View File
@@ -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
+1
View File
@@ -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
###################