grub-install runs right before the script to finish EndeavourOS-specific settings and changes (chrooted_cleaner_script) so everything from that is not getting applied to the installed system.
#!/usr/bin/env bash
# New version of cleaner_script
# Made by @fernandomaroto and @manuel
# Any failed command will just be skipped, error message may pop up but won't crash the install process
# Net-install creates the file /tmp/run_once in live environment (need to be transfered to installed system) so it can be used to detect install option
# ISO-NEXT specific cleanup removals and additions (08-2021) @killajoe and @manuel
# 01-2022 passing in online and username as params - @dalto
# 04-2022 small code re-organization - @manuel
_c_c_s_msg() { # use this to provide all user messages (info, warning, error, ...)
local type="$1"
local msg="$2"
echo "==> $type: $msg"
}
_pkg_msg() { # use this to provide all package management messages (install, uninstall)
local op="$1"
local pkgs="$2"
case "$op" in
This file has been truncated. show original
3 Likes