Update ubuntu.sh

This commit is contained in:
midoks 2022-10-29 11:38:08 +08:00
parent 78d3a091cd
commit a9486d4fbe
1 changed files with 4 additions and 4 deletions

View File

@ -1,16 +1,16 @@
#!/bin/bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH
LANG=en_US.UTF-8
export LANG=en_US.UTF-8
export DEBIAN_FRONTEND=noninteractive
if grep -Eq "Ubuntu" /etc/*-release; then
sudo ln -sf /bin/bash /bin/sh
#sudo dpkg-reconfigure dash
fi
apt update -y
apt-get update -y
sudo DEBIAN_FRONTEND=noninteractive apt update -y
sudo DEBIAN_FRONTEND=noninteractive apt-get update -y
apt install -y wget curl lsof unzip
apt install -y python3-pip