Browse Source

vuetorrent check for pkg manager

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

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

@ -58,9 +58,14 @@ install_deps() {
echo '-------------------------'
echo '| Installing jq package |'
echo '-------------------------'
apt-get update &&
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() {
if [[ ! -d ./vuetorrent ]]; then

Loading…
Cancel
Save