[locale] Add alpine support
This commit is contained in:
parent
f4db6e908e
commit
e290733a00
3 changed files with 7 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/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.
|
||||
#
|
||||
|
|
|
@ -8,7 +8,8 @@ cdist-type__locale - Configure locales
|
|||
|
||||
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
|
||||
|
@ -44,6 +45,6 @@ Nico Schottelius <nico-cdist--@--schottelius.org>
|
|||
|
||||
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
|
||||
later (GPLv3+).
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/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)
|
||||
#
|
||||
# This file is part of cdist.
|
||||
|
@ -19,7 +19,7 @@
|
|||
# along with cdist. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
#
|
||||
# Install required packages
|
||||
# Install required packages
|
||||
#
|
||||
|
||||
os=$(cat "$__global/explorer/os")
|
||||
|
@ -30,7 +30,7 @@ case "$os" in
|
|||
# Debian needs a seperate package
|
||||
__package locales --state present
|
||||
;;
|
||||
archlinux|suse|ubuntu|scientific|centos)
|
||||
archlinux|suse|ubuntu|scientific|centos|alpine)
|
||||
:
|
||||
;;
|
||||
*)
|
||||
|
|
Loading…
Reference in a new issue