mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-27 18:53:31 -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 \
|
||||
curl \
|
||||
jq
|
||||
elif [ -f /usr/bin/dnf ]; then
|
||||
elif [[ -f /usr/bin/dnf ]]; then
|
||||
# Fedora
|
||||
dnf install -y --setopt=install_weak_deps=False --best \
|
||||
curl \
|
||||
jq
|
||||
elif [ -f /usr/sbin/pacman ]; then
|
||||
elif [[ -f /usr/sbin/pacman ]]; then
|
||||
# Arch
|
||||
pacman -Sy --noconfirm \
|
||||
curl \
|
||||
|
||||
Reference in New Issue
Block a user