mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-03-23 00:05:28 +08: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:
parent
5a8f05000c
commit
d8ea0322f9
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user