mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-18 22:33:00 -04:00
changed to use apt-get and moved apt-get update to below if so it dont do unnecessary update
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
echo "*** AWSCLI Installer ***"
|
||||
echo "Checking if awscli is installed"
|
||||
apt update
|
||||
|
||||
if ! aws -v COMMAND &> /dev/null; then
|
||||
|
||||
echo "aws not installed, installing now..."
|
||||
@@ -10,7 +10,8 @@ if ! aws -v COMMAND &> /dev/null; then
|
||||
if ! pip -v COMMAND &> /dev/null
|
||||
then
|
||||
echo "pip3 not installed, installing now..."
|
||||
apt install python3 python3-pip -y
|
||||
apt-get update
|
||||
apt-get install python3 python3-pip -y
|
||||
pip3 install awscli
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user