ExnixOS-BY-MR/eznixOS12Xdev-calamares+deb.../eznixOS12Xdev/D-I-installer/scripts/07update-system

17 lines
569 B
Plaintext
Raw Normal View History

2023-11-19 18:09:38 -01:00
#!/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