PepMiniiso/pepscripts/07final-cleanup

28 lines
575 B
Plaintext
Raw Normal View History

2023-07-15 13:31:25 +00:00
#!/bin/sh -e
# SPDX-License-Identifier: GPL-3.0-or-later
#
2023-07-16 10:56:13 +00:00
# SPDX-FileCopyrightText: 2023 PeppermintOS Team (peppermintosteam@proton.me)
2023-07-15 13:31:25 +00:00
2023-08-12 13:56:20 +00:00
# This script removes unwanted software and files after Debian installation.
2023-07-15 13:31:25 +00:00
2023-07-17 20:08:30 +00:00
# Remove unwanted packages
2023-07-17 20:19:37 +00:00
chroot /target apt purge --autoremove -y \
2023-07-16 10:56:13 +00:00
quassel \
thunderbird \
mpv \
smtube \
2023-07-16 17:12:27 +00:00
smplayer \
2023-07-16 10:56:13 +00:00
audacious \
connman \
2023-07-16 17:12:27 +00:00
deluge \
2023-08-12 13:56:20 +00:00
galculator \
2023-08-24 10:16:39 +00:00
raspi-firmware \
morph-browser
2023-07-17 20:08:30 +00:00
2023-08-12 13:56:20 +00:00
# Clean unnecessary files
2023-08-13 10:56:43 +00:00
rm -r /target/boot/firmware
# system update
chroot /target apt update && apt upgrade -y