PepMiniiso/pepscripts/07final-cleanup

29 lines
564 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-07-17 20:08:30 +00:00
# This script removes unwanted software 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-07-17 20:08:30 +00:00
galculator
# Clear package cache
2023-07-17 20:19:37 +00:00
chroot /target apt clean
2023-07-17 20:08:30 +00:00
# Update system packages
2023-07-17 20:19:37 +00:00
chroot /target apt update
2023-07-17 20:08:30 +00:00
# Upgrade system packages
2023-07-17 20:19:37 +00:00
chroot /target apt upgrade -y