mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-15 22:51:31 +00:00
fix: Correct hostname check (Thanks szescxz)
This commit is contained in:
parent
4092a1584d
commit
9368037631
@ -194,7 +194,7 @@ fi
|
||||
# If the hostname is too long Distrobox will fail during setup
|
||||
# Additonally, Anaconda likes to set the hostname to be the ipv6 address
|
||||
# Let's check the length and reset it to something sensible if that happens.
|
||||
if hostname | wc -m > 15; then
|
||||
if (( $(hostname | wc -m) > 16 )); then
|
||||
hostnamectl set-hostname bazzite
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user