Skip to content

Commit

Permalink
Added dependency check (issue wolandmaster#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandor-balazsi committed Dec 13, 2017
1 parent 1d37db0 commit d209ebb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dijnet-dump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
# optional dependency:
# - pv (if you want a nice progress bar)

if ! which xmllint &>/dev/null; then
echo "Dependency missing! Please install xmllint:"
echo "- debian/ubuntu: apt-get install libxml2-utils"
echo "- cygwin: setup-x86_64 -qP libxml2"
exit 1
fi

SCRIPT=$(basename $0)
DIJNET_BASE_URL="https://www.dijnet.hu/ekonto"

Expand Down

0 comments on commit d209ebb

Please sign in to comment.