commit 59b41045ba2ff8199df993661c50891ec1b6a24e
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Sun May 22 10:08:32 2022 +0100
Remove prefix from exec in desktop file
chromium-freeworld.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/chromium-freeworld.spec b/chromium-freeworld.spec
index fb8b22b..e564012 100644
--- a/chromium-freeworld.spec
+++ b/chromium-freeworld.spec
@@ -421,7 +421,7 @@ install -m 644 chrome.1 %{buildroot}%{_mandir}/man1/%{name}.1
sed \
-e "s|@@MENUNAME@@|%{menu_name}|g" \
-e "s|@@PACKAGE@@|%{name}|g" \
- -e "s|@@USR_BIN_SYMLINK_NAME@@|%{name}|g" \
+ -e "s|%{_bindir}/@@USR_BIN_SYMLINK_NAME@@|%{name}|g" \
chrome/installer/linux/common/desktop.template >%{name}.desktop
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{name}.desktop
sed \