mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-25 09:43:06 -04:00
15 lines
424 B
Plaintext
15 lines
424 B
Plaintext
#!/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 |