Skip to content

Commit

Permalink
use echo instead of cat for updating sources (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
jessebot authored Nov 5, 2024
1 parent d486594 commit 35cfa76
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ echo ""
if [[ "$OS" == *"Linux"* ]]; then
echo -e "---------------------------- \033[94m Updating existing apt packages \033[00m --------------------"

DEBIAN_FRONTEND=noninteractive sudo cat << EOF > /etc/apt/sources.list
deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
DEBIAN_FRONTEND=noninteractive sudo echo "deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
deb-src http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
deb http://deb.debian.org/debian-security/ bookworm-security main contrib non-free
Expand All @@ -104,8 +103,8 @@ if [[ "$OS" == *"Linux"* ]]; then
deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free
deb http://deb.debian.org/debian bookworm-backports main
deb http://deb.debian.org/debian bullseye-backports main
EOF; sudo apt-get update; sudo apt-get -y upgrade; sudo apt-get -y full-upgrade
deb http://deb.debian.org/debian bullseye-backports main" > /etc/apt/sources.list;
sudo apt-get update; sudo apt-get -y upgrade; sudo apt-get -y full-upgrade
echo -e "\033[92m apt updated/upgraded :3 \033[00m"
fi

Expand Down Expand Up @@ -257,7 +256,7 @@ fi
echo -e "--------------------------\033[94m Installing OnBoardMe :D \033[00m -------------------------"


pip3.12 install --upgrade --user pipx
pip3.12 install --break-system-packages --upgrade --user pipx
pipx install onboardme
pipx_install_return_code=$?

Expand Down

0 comments on commit 35cfa76

Please sign in to comment.