diff options
author | Michael Hoang <enzime@users.noreply.github.com> | 2023-08-19 04:41:07 +0300 |
---|---|---|
committer | Michael Hoang <enzime@users.noreply.github.com> | 2023-08-19 04:41:07 +0300 |
commit | 2ce153411597035d0f3db5177d703541e09eaa06 (patch) | |
tree | fbf8e4fc54425c9883ada627c980ea3d3470d8dc /data | |
parent | a50093fa29d54b88a72465970a4ad37e48cbebbe (diff) |
Fix Remmina not using `@REMMINA_BINARY_PATH@`
Diffstat (limited to 'data')
-rwxr-xr-x | data/desktop/remmina-file-wrapper.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/data/desktop/remmina-file-wrapper.in b/data/desktop/remmina-file-wrapper.in index a2033a157..571c3bf7e 100755 --- a/data/desktop/remmina-file-wrapper.in +++ b/data/desktop/remmina-file-wrapper.in @@ -24,9 +24,11 @@ set -o nounset # Treat unset variables as an er USRBIN="$(dirname "$(readlink -f "${0}")")" REMMINA="@REMMINA_BINARY_PATH@" -if [[ ! -f "$REMMINA" ]] ; then +if [[ ! -f "$REMMINA" ]]; then REMMINA="${USRBIN}/remmina" -else +fi + +if [[ ! -f "$REMMINA" ]]; then REMMINA="remmina" fi |