-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
#! /bin/bash | ||
sudo apt update && \ | ||
sudo apt full-upgrade -y && \ | ||
#sudo apt install python3.7 -y && \ | ||
#sudo update-alternatives --set python /usr/bin/python3.7 && \ | ||
#sudo apt update && \ | ||
#curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip2.py && \ | ||
#curl https://bootstrap.pypa.io/pip/get-pip.py --output get-pip3.py && \ | ||
#sudo python2 get-pip2.py && \ | ||
#sudo python3 get-pip3.py && \ | ||
sudo tee /etc/apt/apt.conf.d/00-local << EOF | ||
Dpkg::Options { | ||
"--force-confdef"; | ||
"--force-confold"; | ||
} | ||
EOF | ||
export DEBIAN_FRONTEND=noninteractive && \ | ||
sudo -E apt update && \ | ||
sudo -E apt full-upgrade -y && \ | ||
sudo systemctl restart sshd |