diff --git a/init.sh b/init.sh index b6f715c..3393998 100755 --- a/init.sh +++ b/init.sh @@ -70,6 +70,7 @@ wi-init(){ mkdir -p ~/.ssh/keys &> /dev/null + apt-get update &> /dev/null apt-get install -y python3-pip python3-venv jq git curl lsb-release &> /dev/null dnf install -y epel-release &> /dev/null dnf install -y python3-pip jq git curl lsb_release &> /dev/null diff --git a/src/functions/init.sh b/src/functions/init.sh index cdfc7c5..394ddda 100644 --- a/src/functions/init.sh +++ b/src/functions/init.sh @@ -4,6 +4,7 @@ wi-init(){ mkdir -p ~/.ssh/keys &> /dev/null + apt-get update &> /dev/null apt-get install -y python3-pip python3-venv jq git curl lsb-release &> /dev/null dnf install -y epel-release &> /dev/null dnf install -y python3-pip jq git curl lsb_release &> /dev/null