mirror of
https://github.com/hwdsl2/setup-ipsec-vpn.git
synced 2026-05-17 08:05:45 +03:00
Bugfix for Alpine Linux
- Install coreutils on Alpine Linux for "mktemp"
This commit is contained in:
@@ -159,7 +159,7 @@ install_pkgs() {
|
||||
if [ "$os_type" = "alpine" ]; then
|
||||
(
|
||||
set -x
|
||||
apk add -U -q bash net-tools wget sed grep
|
||||
apk add -U -q bash coreutils grep net-tools sed wget
|
||||
) || exiterr "'apk add' failed."
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -154,7 +154,7 @@ install_pkgs() {
|
||||
if [ "$os_type" = "alpine" ]; then
|
||||
(
|
||||
set -x
|
||||
apk add -U -q bash wget sed grep
|
||||
apk add -U -q bash coreutils grep sed wget
|
||||
) || exiterr "'apk add' failed."
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -212,7 +212,7 @@ install_pkgs() {
|
||||
if [ "$os_type" = "alpine" ]; then
|
||||
(
|
||||
set -x
|
||||
apk add -U -q bash net-tools wget sed grep
|
||||
apk add -U -q bash coreutils grep net-tools sed wget
|
||||
) || exiterr "'apk add' failed."
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user