gentoo-overlay/app-backup/duplicati-bin/files/001-duplicati-bin-2.0.4.5_beta20181128-bash-path.patch
Manuel Friedli 5004146f93
All checks were successful
continuous-integration/drone the build was successful
app-backup/duplicati-bin: Fix path to bash
Package-Manager: Portage-2.3.51, Repoman-2.3.11
2018-12-04 00:43:19 +01:00

30 lines
1 KiB
Diff

diff --git a/usr/bin/duplicati b/usr/bin/duplicati
index ca57686..f408fec 100755
--- a/usr/bin/duplicati
+++ b/usr/bin/duplicati
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/usr/bin/env bash
INSTALLDIR=/usr/lib/duplicati
export LD_LIBRARY_PATH="${INSTALLDIR}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
export MONO_PATH=$MONO_PATH:${INSTALLDIR}
diff --git a/usr/bin/duplicati-cli b/usr/bin/duplicati-cli
index 4bea938..3fea689 100755
--- a/usr/bin/duplicati-cli
+++ b/usr/bin/duplicati-cli
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/usr/bin/env bash
INSTALLDIR=/usr/lib/duplicati
export LD_LIBRARY_PATH="${INSTALLDIR}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
export MONO_PATH=$MONO_PATH:${INSTALLDIR}
diff --git a/usr/bin/duplicati-server b/usr/bin/duplicati-server
index 62d6808..31c3550 100755
--- a/usr/bin/duplicati-server
+++ b/usr/bin/duplicati-server
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/usr/bin/env bash
INSTALLDIR=/usr/lib/duplicati
export LD_LIBRARY_PATH="${INSTALLDIR}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
export MONO_PATH=$MONO_PATH:${INSTALLDIR}