Bootstrap using stow
This commit is contained in:
@@ -2,16 +2,15 @@
|
||||
source "$(dirname $0)/utils.sh"
|
||||
|
||||
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
|
||||
unzip awscliv2.zip -d "$dotfiles_dir/tmp"
|
||||
temp_dir=$(mktemp -d)
|
||||
unzip awscliv2.zip -d "$temp_dir"
|
||||
rm awscliv2.zip
|
||||
|
||||
if not_installed "aws"; then
|
||||
echo "Installing awscli..."
|
||||
sudo ./tmp/aws/install
|
||||
sudo $temp_dir/aws/install
|
||||
fi
|
||||
|
||||
echo "awscli is installed, upgrading..."
|
||||
sudo ./tmp/aws/install --update
|
||||
sudo $temp_dir/aws/install --update
|
||||
aws --version
|
||||
|
||||
rm -rf ./tmp/aws
|
||||
|
||||
Reference in New Issue
Block a user