Only snapper config on full, as well.

This commit is contained in:
Austin Horstman 2022-02-28 23:34:44 -06:00
parent 9129d10631
commit d9ef4c3226
1 changed files with 19 additions and 17 deletions

View File

@ -103,24 +103,25 @@ echo " NetworkManager enabled"
systemctl enable bluetooth systemctl enable bluetooth
echo " Bluetooth enabled" echo " Bluetooth enabled"
if [[ "${FS}" == "luks" || "${FS}" == "btrfs" ]]; then
echo -ne "
-------------------------------------------------------------------------
Creating Snapper Config
-------------------------------------------------------------------------
"
SNAPPER_CONF="$HOME/ArchTitus/configs/etc/snapper/configs/root"
mkdir -p /etc/snapper/configs/
cp -rfv ${SNAPPER_CONF} /etc/snapper/configs/
SNAPPER_CONF_D="$HOME/ArchTitus/configs/etc/conf.d/snapper"
mkdir -p /etc/conf.d/
cp -rfv ${SNAPPER_CONF_D} /etc/conf.d/
fi
if [[ ${INSTALL_TYPE} == "FULL" ]]; then if [[ ${INSTALL_TYPE} == "FULL" ]]; then
if [[ "${FS}" == "luks" || "${FS}" == "btrfs" ]]; then
echo -ne "
-------------------------------------------------------------------------
Creating Snapper Config
-------------------------------------------------------------------------
"
SNAPPER_CONF="$HOME/ArchTitus/configs/etc/snapper/configs/root"
mkdir -p /etc/snapper/configs/
cp -rfv ${SNAPPER_CONF} /etc/snapper/configs/
SNAPPER_CONF_D="$HOME/ArchTitus/configs/etc/conf.d/snapper"
mkdir -p /etc/conf.d/
cp -rfv ${SNAPPER_CONF_D} /etc/conf.d/
fi
echo -ne " echo -ne "
------------------------------------------------------------------------- -------------------------------------------------------------------------
Enabling (and Theming) Plymouth Boot Splash Enabling (and Theming) Plymouth Boot Splash
@ -139,6 +140,7 @@ if [[ ${INSTALL_TYPE} == "FULL" ]]; then
fi fi
plymouth-set-default-theme -R arch-glow # sets the theme and runs mkinitcpio plymouth-set-default-theme -R arch-glow # sets the theme and runs mkinitcpio
echo 'Plymouth theme installed' echo 'Plymouth theme installed'
fi fi
echo -ne " echo -ne "