mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-22 02:50:29 -04:00
Intial release
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
if [[ -f /usr/bin/apt ]]; then
|
||||
# Ubuntu
|
||||
cp /unrar6/unrar-ubuntu /usr/bin/unrar
|
||||
elif [[ -f /sbin/apk ]]; then
|
||||
# Alpine
|
||||
cp /unrar6/unrar-alpine /usr/bin/unrar
|
||||
else
|
||||
echo "*** This mod only supports Ubuntu and Alpine-based containers ***"
|
||||
fi
|
||||
Reference in New Issue
Block a user