From aa40dba4c4caa79f402e9cf5907f59e0d4d830e1 Mon Sep 17 00:00:00 2001 From: Harry Jeffery Date: Sun, 18 Aug 2019 14:20:28 +0100 Subject: Move src/imv.sh to files/imv --- Makefile | 2 +- files/imv | 7 +++++++ src/imv.sh | 7 ------- 3 files changed, 8 insertions(+), 8 deletions(-) create mode 100755 files/imv delete mode 100755 src/imv.sh diff --git a/Makefile b/Makefile index dcb38f5..122fad3 100644 --- a/Makefile +++ b/Makefile @@ -150,7 +150,7 @@ else ifeq ($(WINDOWS),x11) else ifeq ($(WINDOWS),all) $(INSTALL_PROGRAM) $(TARGET_WL) $(DESTDIR)$(BINPREFIX)/imv-wl $(INSTALL_PROGRAM) $(TARGET_X11) $(DESTDIR)$(BINPREFIX)/imv-x11 - $(INSTALL_PROGRAM) src/imv.sh $(DESTDIR)$(BINPREFIX)/imv + $(INSTALL_PROGRAM) files/imv $(DESTDIR)$(BINPREFIX)/imv endif $(INSTALL_PROGRAM) $(TARGET_MSG) $(DESTDIR)$(BINPREFIX)/imv-msg mkdir -p $(DESTDIR)$(MANPREFIX)/man1 diff --git a/files/imv b/files/imv new file mode 100755 index 0000000..c275633 --- /dev/null +++ b/files/imv @@ -0,0 +1,7 @@ +#!/usr/bin/sh + +if [ -n "${WAYLAND_DISPLAY}" ]; then + exec imv-wl "$@" +else + exec imv-x11 "$@" +fi diff --git a/src/imv.sh b/src/imv.sh deleted file mode 100755 index c275633..0000000 --- a/src/imv.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/sh - -if [ -n "${WAYLAND_DISPLAY}" ]; then - exec imv-wl "$@" -else - exec imv-x11 "$@" -fi -- cgit v1.2.3