PepMiniiso/pepscripts/07final-cleanup

28 lines
575 B
Bash
Executable File

#!/bin/sh -e
# SPDX-License-Identifier: GPL-3.0-or-later
#
# SPDX-FileCopyrightText: 2023 PeppermintOS Team (peppermintosteam@proton.me)
# This script removes unwanted software and files after Debian installation.
# Remove unwanted packages
chroot /target apt purge --autoremove -y \
quassel \
thunderbird \
mpv \
smtube \
smplayer \
audacious \
connman \
deluge \
galculator \
raspi-firmware \
morph-browser
# Clean unnecessary files
rm -r /target/boot/firmware
# system update
chroot /target apt update && apt upgrade -y