mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Just rely on the ISO autostart to set it instead of detecting it
This commit is contained in:
@@ -1,8 +1,4 @@
|
|||||||
# Chroot installations have some differences
|
# Starting the installer with OMARCHY_CHROOT_INSTALL=1 will put it into chroot mode
|
||||||
if ! cmp -s /proc/1/root/ / 2>/dev/null; then
|
|
||||||
export OMARCHY_CHROOT_INSTALL=1
|
|
||||||
fi
|
|
||||||
|
|
||||||
chrootable_systemctl_enable() {
|
chrootable_systemctl_enable() {
|
||||||
if [ -n "${OMARCHY_CHROOT_INSTALL:-}" ]; then
|
if [ -n "${OMARCHY_CHROOT_INSTALL:-}" ]; then
|
||||||
sudo systemctl enable $1
|
sudo systemctl enable $1
|
||||||
|
|||||||
Reference in New Issue
Block a user