Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
pi: bash -cf for "yes"
  • Loading branch information
ggilmore committed Oct 20, 2020
1 parent c0a55ac commit e04804f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pi/install.sh
Expand Up @@ -3,8 +3,8 @@
set -euxo pipefail

echo "upgrade-system "
yes | sudo apt-get update
yes | sudo apt-get full-upgrade
sudo bash -c "yes | apt-get update"
sudo bash -c "yes | apt-get full-upgrade"

PACKAGES=(
autojump
Expand All @@ -18,19 +18,20 @@ PACKAGES=(
git
lftp
parallel
tmux
ufw
vim
)

for package in "${PACKAGES[@]}"; do
yes | sudo apt-get install "${package}"
sudo bash -c "yes | apt-get install ${package}"
done

# install log2ram
echo "deb http://packages.azlux.fr/debian/ buster main" | sudo tee /etc/apt/sources.list.d/azlux.list
wget -qO - https://azlux.fr/repo.gpg.key | sudo apt-key add --yes -
yes | sudo apt update
yes | sudo apt install log2ram
sudo bash -c "yes | apt update"
sudo bash -c "yes | apt install log2ram"

DEV_FOLDER="${HOME}/dev/github.com/ggilmore"

Expand Down

0 comments on commit e04804f

Please sign in to comment.