Replace @PREFIX@ in idesktop link

This commit is contained in:
2026-08-28 17:21:47 +02:00
parent 3072ef1a9c
commit c549f7b131
2 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -66,9 +66,10 @@ install -m 0644 \
cp -a \ cp -a \
"${SOURCEDIR}/shapes/." \ "${SOURCEDIR}/shapes/." \
"${SHAREDIR}/shapes/" "${SHAREDIR}/shapes/"
install -m 0644 \ sed "s#@PREFIX@#${PREFIX}#g" \
"${SOURCEDIR}/yms.lnk" \ "${SOURCEDIR}/yms.lnk" \
"${SHAREDIR}/yms.lnk" > "${SHAREDIR}/yms.lnk"
chmod 0644 "${SHAREDIR}/yms.lnk"
# Documentation # Documentation
echo "Installing documentation..." echo "Installing documentation..."
+2 -2
View File
@@ -1,7 +1,7 @@
table Icon table Icon
Caption: Yacht Management Caption: Yacht Management
Command: /usr/local/bin/yms Command: @PREFIX@/bin/yms
Icon: /usr/local/share/icons/hicolor/48x48/apps/yms.png Icon: @PREFIX@/share/icons/hicolor/48x48/apps/yms.png
Width: 48 Width: 48
Height: 48 Height: 48
X: 168 X: 168