ExnixOS-BY-MR/eznixOS12X-calamares+debian.../eznixOS12X/D-I-installer/scripts/07update-system

17 lines
569 B
Bash
Executable File

#!/bin/sh -e
################################################################################
# Title: 07update-system
# Description: This script updates the system after Debian installation.
# Author: manuel rosa <manuelsilvarosa@gmail.com>
# Date: Outubro 29, 2023
# License: GPL-3.0-or-later
################################################################################
# Update the system
chroot /target apt update && apt upgrade -y
chroot /target apt dist-upgrade -y
# Clean up unnecessary packages
chroot /target apt autoremove -y