Fix end to fi
This commit is contained in:
parent
bf72d80ac6
commit
7713534693
@ -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}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user