[Xfce4-commits] <thunar-archive-plugin:master> Add a symlink to gnome-file-roller.tap to fix file-roller detection.
Jannis Pohlmann
noreply at xfce.org
Sun Jan 23 17:08:01 CET 2011
Updating branch refs/heads/master
to cee66d6486517658ad4ca04b832383c98c74c9a2 (commit)
from 3b2a2f484f516319a57d905ef6536c5a58105efa (commit)
commit cee66d6486517658ad4ca04b832383c98c74c9a2
Author: Jannis Pohlmann <jannis at xfce.org>
Date: Sun Jan 23 17:03:19 2011 +0100
Add a symlink to gnome-file-roller.tap to fix file-roller detection.
Some distributions (Fedora at least) seem to rename file-roller.desktop
to gnome-file-roller.desktop. The archiver detection in TPA uses the
desktop entry prefix (e.g. file-roller for file-roller.desktop) and
matches this against the .tap file prefixes. So if there only is a
gnome-file-roller.desktop we also need to have a gnome-file-roller.tap.
We therefor install a symlink to work around this.
scripts/Makefile.am | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 68bed63..4da529c 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -5,6 +5,13 @@ wrapper_SCRIPTS = \
ark.tap \
file-roller.tap
+# Install symlink to 'gnome-file-roller.tap'
+install-exec-hook:
+ $(mkinstalldirs) $(DESTDIR)$(wrapperdir)
+ -( cd $(DESTDIR)$(wrapperdir) ; \
+ test -f gnome-file-roller.tap \
+ || ln -sf file-roller.tap gnome-file-roller.tap )
+
EXTRA_DIST = \
$(wrapper_SCRIPTS) \
template.tap
More information about the Xfce4-commits
mailing list