Skip to content

Commit

Permalink
Don't clean up extra packages
Browse files Browse the repository at this point in the history
  • Loading branch information
mcm001 committed Dec 28, 2023
1 parent 8d71a30 commit d88c447
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions install_opi5.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if id "$1" >/dev/null 2>&1; then
else
echo "creating pi user"
useradd pi -b /home
sudo usermod -a -G sudo pi
usermod -a -G sudo pi
fi
echo "pi:raspberry" | chpasswd

Expand All @@ -20,11 +20,11 @@ rm install.sh

# Remove extra packages

apt-get purge -y python3 gdb gcc g++ linux-headers* libgcc*-dev *qt*
apt-get autoremove -y
# apt-get purge -y python3 gdb gcc g++ linux-headers* libgcc*-dev *qt*
# apt-get autoremove -y

rm -rf /var/lib/apt/lists/*
apt-get clean
# rm -rf /var/lib/apt/lists/*
# apt-get clean

rm -rf /usr/share/doc
rm -rf /usr/share/locale/
# rm -rf /usr/share/doc
# rm -rf /usr/share/locale/

0 comments on commit d88c447

Please sign in to comment.