From c549f7b131711fe58a7e0e6427772966a947c1f9 Mon Sep 17 00:00:00 2001 From: Thomas Hooge Date: Fri, 28 Aug 2026 17:21:47 +0200 Subject: [PATCH] Replace @PREFIX@ in idesktop link --- install.sh | 5 +++-- yms.lnk | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 9274718..83d076c 100755 --- a/install.sh +++ b/install.sh @@ -66,9 +66,10 @@ install -m 0644 \ cp -a \ "${SOURCEDIR}/shapes/." \ "${SHAREDIR}/shapes/" -install -m 0644 \ +sed "s#@PREFIX@#${PREFIX}#g" \ "${SOURCEDIR}/yms.lnk" \ - "${SHAREDIR}/yms.lnk" + > "${SHAREDIR}/yms.lnk" +chmod 0644 "${SHAREDIR}/yms.lnk" # Documentation echo "Installing documentation..." diff --git a/yms.lnk b/yms.lnk index 573c191..12352cb 100644 --- a/yms.lnk +++ b/yms.lnk @@ -1,7 +1,7 @@ table Icon Caption: Yacht Management - Command: /usr/local/bin/yms - Icon: /usr/local/share/icons/hicolor/48x48/apps/yms.png + Command: @PREFIX@/bin/yms + Icon: @PREFIX@/share/icons/hicolor/48x48/apps/yms.png Width: 48 Height: 48 X: 168