]> git.proxmox.com Git - mirror_lxc.git/commitdiff
Merge pull request #1500 from BegBlev/1498
authorStéphane Graber <stgraber@stgraber.org>
Fri, 7 Apr 2017 16:09:54 +0000 (12:09 -0400)
committerGitHub <noreply@github.com>
Fri, 7 Apr 2017 16:09:54 +0000 (12:09 -0400)
make Alpine template more POSIX shell friendly #1498

templates/lxc-alpine.in

index 44173eed32d44c5821f5707fc97d7503ab10893c..1547c2c1a1bf763c0a0238c4ba196d198fd5d6df 100644 (file)
@@ -263,8 +263,8 @@ install() {
 }
 
 install_packages() {
-       local arch="$1"; shift
-       local packages="$@"
+       local arch="$1"
+       local packages="$2"
 
        $APK --arch="$arch" --root=. --keys-dir="$APK_KEYS_DIR" \
                --update-cache --initdb add $packages