mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Fix end to fi
This commit is contained in:
@@ -53,12 +53,12 @@ EOF
|
|||||||
# Match Snapper configs if not installing from the ISO
|
# Match Snapper configs if not installing from the ISO
|
||||||
if [ -z "${OMARCHY_CHROOT_INSTALL:-}" ]; then
|
if [ -z "${OMARCHY_CHROOT_INSTALL:-}" ]; then
|
||||||
if ! sudo snapper list-configs 2>/dev/null | grep -q "root"; then
|
if ! sudo snapper list-configs 2>/dev/null | grep -q "root"; then
|
||||||
sudo snapper -c root create-config /
|
sudo snapper -c root create-config /
|
||||||
fi
|
fi
|
||||||
if ! sudo snapper list-configs 2>/dev/null | grep -q "home"; then
|
if ! sudo snapper list-configs 2>/dev/null | grep -q "home"; then
|
||||||
sudo snapper -c home create-config /home
|
sudo snapper -c home create-config /home
|
||||||
fi
|
fi
|
||||||
end
|
fi
|
||||||
|
|
||||||
# Tweak default Snapper configs
|
# Tweak default Snapper configs
|
||||||
sudo sed -i 's/^TIMELINE_CREATE="yes"/TIMELINE_CREATE="no"/' /etc/snapper/configs/{root,home}
|
sudo sed -i 's/^TIMELINE_CREATE="yes"/TIMELINE_CREATE="no"/' /etc/snapper/configs/{root,home}
|
||||||
|
|||||||
Reference in New Issue
Block a user