Update automatic_packages.sh

This commit is contained in:
Alexandre
2022-05-03 12:01:36 +02:00
committed by GitHub
parent d56d5b1512
commit db8759914c

View File

@@ -87,7 +87,7 @@ for files in "/etc/cont-init.d" "/etc/services.d"; do
COMMAND="openvpn"
if grep -q -rnw "$files/" -e "$COMMAND" && ! command -v $COMMAND &>/dev/null; then
[ "$VERBOSE" = true ] && echo "$COMMAND required"
[ "$PACKMANAGER" = "apk" ] && PACKAGES="$PACKAGES coreutils openvpn"
[ "$PACKMANAGER" = "apk" ] && PACKAGES="$PACKAGES coreutils openvpn=2.5.3-r0"
[ "$PACKMANAGER" = "apt" ] && PACKAGES="$PACKAGES coreutils openvpn"
[ "$PACKMANAGER" = "pacman" ] && PACKAGES="$PACKAGES coreutils openvpn"
fi