code-server-awscli update/add workflows

This commit is contained in:
aptalca
2023-04-13 11:06:43 -04:00
parent ae0b3afd8e
commit 388b9e2111
5 changed files with 58 additions and 69 deletions
-3
View File
@@ -1,3 +0,0 @@
#!/usr/bin/with-contenv bash
apt-get update
-15
View File
@@ -1,15 +0,0 @@
#!/usr/bin/with-contenv bash
echo "*** AWSCLI Installer ***"
echo "Checking if awscli is installed"
if ! aws -v COMMAND &> /dev/null; then
echo "awscli not installed, installing now..."
if ! pip3 -v COMMAND &> /dev/null; then
echo "pip3 not installed, installing now..."
apt-get install python3 python3-pip -y
fi
pip3 install awscli
else
echo "awscli already installed, skipping!"
fi