Browse Source

vuetorrent check for pkg manager

pull/302/head
gilbn 3 years ago
parent
commit
f5e5cd0302
  1. 9
      docker-mods/vuetorrent/root/etc/cont-init.d/98-themepark

9
docker-mods/vuetorrent/root/etc/cont-init.d/98-themepark

@ -58,8 +58,13 @@ install_deps() {
echo '-------------------------'
echo '| Installing jq package |'
echo '-------------------------'
apt-get update &&
apt-get install -y jq
if [ -x "$(command -v apk)" ]; then
apk update && \
apk add --no-cache jq
elif [ -x "$(command -v apt-get)" ]; then
apt-get update && \
apt-get install -y jq
fi
fi
}
check_updates() {

Loading…
Cancel
Save