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" "$@"