[__hostname] Add support for Void Linux

This commit is contained in:
Dennis Camera 2019-10-26 22:17:08 +02:00
parent cbae534af5
commit b9571a2bbd
2 changed files with 2 additions and 2 deletions

View file

@ -66,7 +66,7 @@ in
"&& hostnamectl set-hostname '$name_should'" \
"|| hostname '$name_should'"
;;
centos|fedora|redhat|scientific|freebsd|netbsd|gentoo)
centos|fedora|redhat|scientific|freebsd|netbsd|gentoo|void)
echo "hostname '$name_should'"
;;
macosx)

View file

@ -60,7 +60,7 @@ fi
case $os
in
alpine|debian|devuan|ubuntu)
alpine|debian|devuan|ubuntu|void)
echo "$name_should" \
| __file /etc/hostname --source -
;;