PepMiniiso/pepscriptsdev/07-update-system

15 lines
344 B
Bash

#!/bin/sh -e
# SPDX-License-Identifier: GPL-3.0-or-later
#
# SPDX-FileCopyrightText: 2023 PeppermintOS Team (peppermintosteam@proton.me)
# This script updates the system after Debian installation.
# Update the system
chroot /target apt update
chroot /target apt upgrade -y
# Clean up unnecessary packages
chroot /target apt autoremove -y