mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-18 14:23:07 -04:00
Only try and remove package if it's installed
This commit is contained in:
@@ -5,4 +5,6 @@
|
||||
# init-mods-end depends on this script so that later init and services wait until this script exits
|
||||
|
||||
echo "*** Removing existing par2cmdline packages ***"
|
||||
apk del --purge par2cmdline
|
||||
if apk list --installed -q | grep par2cmdline &> /dev/null; then
|
||||
apk del --purge -q par2cmdline
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user