[locale] Add alpine support

This commit is contained in:
Nico Schottelius 2019-04-15 18:54:30 +02:00
parent f4db6e908e
commit e290733a00
3 changed files with 7 additions and 6 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh -e #!/bin/sh -e
# #
# 2013 Nico Schottelius (nico-cdist at schottelius.org) # 2013-2019 Nico Schottelius (nico-cdist at schottelius.org)
# #
# This file is part of cdist. # This file is part of cdist.
# #

View file

@ -8,7 +8,8 @@ cdist-type__locale - Configure locales
DESCRIPTION DESCRIPTION
----------- -----------
This cdist type allows you to setup locales. This cdist type allows you to setup locales. On systems that don't
support locale setting like alpine/musl libc, it is a no-op.
OPTIONAL PARAMETERS OPTIONAL PARAMETERS
@ -44,6 +45,6 @@ Nico Schottelius <nico-cdist--@--schottelius.org>
COPYING COPYING
------- -------
Copyright \(C) 2013-2016 Nico Schottelius. Free use of this software is Copyright \(C) 2013-2019 Nico Schottelius. Free use of this software is
granted under the terms of the GNU General Public License version 3 or granted under the terms of the GNU General Public License version 3 or
later (GPLv3+). later (GPLv3+).

View file

@ -1,6 +1,6 @@
#!/bin/sh -e #!/bin/sh -e
# #
# 2013-2015 Nico Schottelius (nico-cdist at schottelius.org) # 2013-2019 Nico Schottelius (nico-cdist at schottelius.org)
# 2015 David Hürlimann (david at ungleich.ch) # 2015 David Hürlimann (david at ungleich.ch)
# #
# This file is part of cdist. # This file is part of cdist.
@ -30,7 +30,7 @@ case "$os" in
# Debian needs a seperate package # Debian needs a seperate package
__package locales --state present __package locales --state present
;; ;;
archlinux|suse|ubuntu|scientific|centos) archlinux|suse|ubuntu|scientific|centos|alpine)
: :
;; ;;
*) *)