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

18 lines
581 B
Plaintext
Raw Permalink 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
2023-12-17 17:14:32 -01:00
chroot /target apt update
chroot /target apt upgrade -y
2023-11-19 18:09:38 -01:00
chroot /target apt dist-upgrade -y
# Clean up unnecessary packages
chroot /target apt autoremove -y