[__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'" \ "&& hostnamectl set-hostname '$name_should'" \
"|| 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'" echo "hostname '$name_should'"
;; ;;
macosx) macosx)

View File

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