* ERR_MSG: The environment variable 'HOME' must be set

This commit is contained in:
Reinhard Pointner 2015-10-11 14:04:13 +00:00
parent 3e1e6c1c3a
commit 3b1cee165a
2 changed files with 16 additions and 0 deletions

View File

@ -1,5 +1,13 @@
#!/bin/sh
# sanity checks
if [ -z "$HOME" ]; then
echo "The environment variable 'HOME' must be set"
exit 1
fi
# prepare filebot java call
APP_ROOT="/usr/share/filebot"
APP_DATA="$HOME/.filebot"

View File

@ -1,5 +1,13 @@
#!/bin/sh
# sanity checks
if [ -z "$HOME" ]; then
echo "The environment variable 'HOME' must be set"
exit 1
fi
# prepare filebot java call
APP_ROOT="/opt/filebot"
APP_DATA="$HOME/.config/FileBot"
APP_CACHE="$HOME/.cache/FileBot"