update 07final-cleanup script

This commit is contained in:
manuel 2023-07-17 20:08:30 +00:00
parent 12aa5f09a6
commit 86b93d8b7b
2 changed files with 26 additions and 10 deletions

View File

@ -4,11 +4,10 @@
#
# SPDX-FileCopyrightText: 2023 PeppermintOS Team (peppermintosteam@proton.me)
# This script copies a file to the chroot and runs commands during the Debian installation process.
# This script removes unwanted software after Debian installation.
# Remove unwanted software
chroot /target apt --purge autoremove \
# Remove unwanted packages
apt purge --autoremove -y \
quassel \
thunderbird \
mpv \
@ -17,4 +16,13 @@ chroot /target apt --purge autoremove \
audacious \
connman \
deluge \
galculator \
galculator
# Clear package cache
apt clean
# Update system packages
apt update
# Upgrade system packages
apt upgrade -y

View File

@ -4,11 +4,10 @@
#
# SPDX-FileCopyrightText: 2023 PeppermintOS Team (peppermintosteam@proton.me)
# This script copies a file to the chroot and runs commands during the Debian installation process.
# This script removes unwanted software after Debian installation.
# Remove unwanted software
chroot /target apt --purge autoremove \
# Remove unwanted packages
apt purge --autoremove -y \
quassel \
thunderbird \
mpv \
@ -17,4 +16,13 @@ chroot /target apt --purge autoremove \
audacious \
connman \
deluge \
galculator \
galculator
# Clear package cache
apt clean
# Update system packages
apt update
# Upgrade system packages
apt upgrade -y