summarylogtreecommitdiffstats
path: root/duplicati-cli
blob: 0ca82211bedc767358a9a208360b9569bc96b4fb (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash
INSTALLDIR=/opt/duplicati/
export LD_LIBRARY_PATH="${INSTALLDIR}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
export MONO_PATH=$MONO_PATH:${INSTALLDIR}

EXE_FILE=${INSTALLDIR}/Duplicati.CommandLine.exe
APP_NAME=Duplicati.CommandLine

exec -a "$APP_NAME" mono "$EXE_FILE" "$@"