Browse Source

check for package manager

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

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

@ -27,8 +27,13 @@ if ! [[ -x "$(command -v svn)" ]]; then
echo '--------------------------'
echo '| Installing svn package |'
echo '--------------------------'
apt-get update && \
apt-get install -y subversion
if [ -x "$(command -v apk)" ]; then
apk update && \
apk add --no-cache subversion
elif [ -x "$(command -v apt-get)" ]; then
apt-get update && \
apt-get install -y subversion
fi
fi
# Display variables for troubleshooting

Loading…
Cancel
Save