diff --git a/pepscripts/07final-cleanup b/pepscripts/07final-cleanup index 7210c76..5c31200 100755 --- a/pepscripts/07final-cleanup +++ b/pepscripts/07final-cleanup @@ -7,7 +7,7 @@ # This script removes unwanted software after Debian installation. # Remove unwanted packages -apt purge --autoremove -y \ +chroot /target apt purge --autoremove -y \ quassel \ thunderbird \ mpv \ @@ -19,10 +19,10 @@ apt purge --autoremove -y \ galculator # Clear package cache -apt clean +chroot /target apt clean # Update system packages -apt update +chroot /target apt update # Upgrade system packages -apt upgrade -y +chroot /target apt upgrade -y diff --git a/pepscriptsdev/07final-cleanup b/pepscriptsdev/07final-cleanup index 7210c76..5c31200 100755 --- a/pepscriptsdev/07final-cleanup +++ b/pepscriptsdev/07final-cleanup @@ -7,7 +7,7 @@ # This script removes unwanted software after Debian installation. # Remove unwanted packages -apt purge --autoremove -y \ +chroot /target apt purge --autoremove -y \ quassel \ thunderbird \ mpv \ @@ -19,10 +19,10 @@ apt purge --autoremove -y \ galculator # Clear package cache -apt clean +chroot /target apt clean # Update system packages -apt update +chroot /target apt update # Upgrade system packages -apt upgrade -y +chroot /target apt upgrade -y