Removed unneeded bits that served no function

This commit is contained in:
2025-12-31 23:41:09 -05:00
parent a09f66e4a7
commit a6abd9e365
2 changed files with 2 additions and 11 deletions

View File

@@ -34,11 +34,6 @@ if [[ ! -f "/etc/mtab" ]]; then
"${baseDir}/mtab.sh" "${baseDir}/mtab.sh"
fi fi
if [[ "${ID}" == 'debian' ]] || [[ "${ID}" == 'elementary' ]]; then
apt \
update
fi
if [[ "${ID}" == 'fedora' ]]; then if [[ "${ID}" == 'fedora' ]]; then
if [[ "${encryption}" == 'yes' ]]; then if [[ "${encryption}" == 'yes' ]]; then
cat << EOF | tee /etc/dracut.conf.d/zol.conf &> /dev/null 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 "${baseDir}/zfs.sh" --keystore
fi fi
if [[ ! "${*}" = *--no-part* ]]; then "${baseDir}/efi.sh"
"${baseDir}/efi.sh"
fi
if [[ "${ID}" == 'debian' ]] || [[ "${ID}" == 'elementary' ]]; then if [[ "${ID}" == 'debian' ]] || [[ "${ID}" == 'elementary' ]]; then
"${baseDir}/debian.sh" --systemctl-enable "${baseDir}/debian.sh" --systemctl-enable

View File

@@ -60,9 +60,7 @@ if [[ "${ID}" == 'debian' ]] || [[ "${ID}" == 'elementary' ]]; then
"${baseDir}/apt-snapshot.sh" "${baseDir}/apt-snapshot.sh"
fi fi
# if [[ ! "${*}" = *--no-part* ]]; then "${baseDir}/home-fix-setup.sh"
"${baseDir}/home-fix-setup.sh"
# fi
if [[ ! -f '/usr/bin/shutdown' ]]; then if [[ ! -f '/usr/bin/shutdown' ]]; then
ln -s /sbin/shutdown /usr/bin/shutdown ln -s /sbin/shutdown /usr/bin/shutdown