mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-29 00:32:52 +00:00
chore: Prevent user setup from running for sddm under any circumstance.
This commit is contained in:
parent
420f934b72
commit
f94ce7bd3e
@ -3,6 +3,9 @@
|
|||||||
if [ "${EUID:-$(id -u)}" -eq 0 ]; then
|
if [ "${EUID:-$(id -u)}" -eq 0 ]; then
|
||||||
echo "Bazzite user setup ran as root user. Exiting."
|
echo "Bazzite user setup ran as root user. Exiting."
|
||||||
exit 0
|
exit 0
|
||||||
|
elif [ "$(whoami)" = "sddm" ]; then
|
||||||
|
echo "Bazzite user setup ran as sddm user. Exiting."
|
||||||
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
IMAGE_INFO="/usr/share/ublue-os/image-info.json"
|
IMAGE_INFO="/usr/share/ublue-os/image-info.json"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user