From d88c447f1cb6ef48a351f8f24d5754c02d57b6a3 Mon Sep 17 00:00:00 2001 From: Matt Date: Thu, 28 Dec 2023 10:50:31 -0800 Subject: [PATCH] Don't clean up extra packages --- install_opi5.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/install_opi5.sh b/install_opi5.sh index 7b57c73..78f97b1 100755 --- a/install_opi5.sh +++ b/install_opi5.sh @@ -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 @@ -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/