From a6abd9e36515e27ad5fcdce205a6d4829d101737 Mon Sep 17 00:00:00 2001 From: "Jean (east-high-Nerd)" Date: Wed, 31 Dec 2025 23:41:09 -0500 Subject: [PATCH] Removed unneeded bits that served no function --- install.sh | 9 +-------- post-inst.sh | 4 +--- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/install.sh b/install.sh index d1d2281..9e90542 100755 --- a/install.sh +++ b/install.sh @@ -34,11 +34,6 @@ if [[ ! -f "/etc/mtab" ]]; then "${baseDir}/mtab.sh" fi -if [[ "${ID}" == 'debian' ]] || [[ "${ID}" == 'elementary' ]]; then - apt \ - update -fi - if [[ "${ID}" == 'fedora' ]]; then if [[ "${encryption}" == 'yes' ]]; then cat << EOF | tee /etc/dracut.conf.d/zol.conf &> /dev/null @@ -146,9 +141,7 @@ if [[ ! -z "$(zfs list | grep 'keystore')" ]]; then "${baseDir}/zfs.sh" --keystore fi -if [[ ! "${*}" = *--no-part* ]]; then - "${baseDir}/efi.sh" -fi +"${baseDir}/efi.sh" if [[ "${ID}" == 'debian' ]] || [[ "${ID}" == 'elementary' ]]; then "${baseDir}/debian.sh" --systemctl-enable diff --git a/post-inst.sh b/post-inst.sh index 1042dd0..d172a98 100755 --- a/post-inst.sh +++ b/post-inst.sh @@ -60,9 +60,7 @@ if [[ "${ID}" == 'debian' ]] || [[ "${ID}" == 'elementary' ]]; then "${baseDir}/apt-snapshot.sh" fi -# if [[ ! "${*}" = *--no-part* ]]; then - "${baseDir}/home-fix-setup.sh" -# fi +"${baseDir}/home-fix-setup.sh" if [[ ! -f '/usr/bin/shutdown' ]]; then ln -s /sbin/shutdown /usr/bin/shutdown