Skip to content

Commit

Permalink
fix: conditionally enable initial-setup based on existence of GIS
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed May 24, 2024
1 parent a8e7458 commit ad3ac05
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions katsu/modules/base/initial-setup.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/bin/sh
#!/bin/bash -x
# Set up initial setup, might be redundant idk
systemctl enable initial-setup
touch /var/lib/gdm/run-initial-setup || true

if rpm -q gnome-initial-setup; then
mkdir -p /var/lib/gdm
touch /var/lib/gdm/run-initial-setup
else
systemctl enable initial-setup || true
fi

# Set default target to graphical
systemctl set-default graphical.target

0 comments on commit ad3ac05

Please sign in to comment.