# make sure required environment variables are set
This commit is contained in:
parent
3b1cee165a
commit
ab964c1c23
|
@ -1,5 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
# make sure required environment variables are set
|
||||
if [ -z "$USER" ]
|
||||
then
|
||||
export USER=`whoami`
|
||||
fi
|
||||
|
||||
APP_ROOT="/opt/share/filebot"
|
||||
APP_DATA="$APP_ROOT/data/$USER"
|
||||
|
||||
|
|
Loading…
Reference in New Issue