mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-20 02:13:07 -04:00
Make ifs consistent for arch/fedora
This commit is contained in:
+2
-2
@@ -163,12 +163,12 @@ curl_check() {
|
|||||||
apk add --no-cache \
|
apk add --no-cache \
|
||||||
curl \
|
curl \
|
||||||
jq
|
jq
|
||||||
elif [ -f /usr/bin/dnf ]; then
|
elif [[ -f /usr/bin/dnf ]]; then
|
||||||
# Fedora
|
# Fedora
|
||||||
dnf install -y --setopt=install_weak_deps=False --best \
|
dnf install -y --setopt=install_weak_deps=False --best \
|
||||||
curl \
|
curl \
|
||||||
jq
|
jq
|
||||||
elif [ -f /usr/sbin/pacman ]; then
|
elif [[ -f /usr/sbin/pacman ]]; then
|
||||||
# Arch
|
# Arch
|
||||||
pacman -Sy --noconfirm \
|
pacman -Sy --noconfirm \
|
||||||
curl \
|
curl \
|
||||||
|
|||||||
Reference in New Issue
Block a user