--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: rox: Bashism (uses "source") on menu-methods hook
- From: Leandro Lucarella <luca@llucax.com.ar>
- Date: Mon, 17 Aug 2009 02:06:25 -0300
- Message-id: <20090817050625.27731.44490.reportbug@homero.springfield>
Package: rox
Version: 2.0.1-1
Severity: normal
Tags: patch
When using dash or other non-bash shell as "sh" the menu trigger complains
about "source" being used.
I tracked down the problem and it's because the /etc/menu-methods/rox
method uses "source".
The fix for this is as easy as replacing "source" with "." on that file.
I've tested it and works just fine.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (99, 'experimental'), (50, 'testing'), (9, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.30.4
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages rox depends on:
ii libatk1.0-0 1.26.0-1 The ATK accessibility toolkit
ii libc6 2.9-24 GNU C Library: Shared libraries
ii libglib2.0-0 2.20.4-1 The GLib library of C routines
ii libgtk2.0-0 2.16.5-1 The GTK+ graphical user interface
ii libpango1.0-0 1.24.5-1 Layout and rendering of internatio
ii libxml2 2.7.3.dfsg-2+b1 GNOME XML library
ii shared-mime-info 0.60-2 FreeDesktop.org shared MIME databa
ii xlibs 6.9.0.dfsg.1-6 X Window System client libraries m
ii zlib1g 1:1.2.3.3.dfsg-15 compression library - runtime
rox recommends no packages.
Versions of packages rox suggests:
ii file 5.03-1 Determines file type using "magic"
pn rox-session <none> (no description available)
-- no debconf information
--- /tmp/rox.orig 2009-08-17 02:05:46.002028314 -0300
+++ /etc/menu-methods/rox 2009-08-17 01:58:28.751034975 -0300
@@ -45,7 +45,7 @@
# Command to run at end.
postrun="mkdir -p /usr/share/apps/Debian ; rm -r /usr/share/apps/Debian ; " \
- "source /etc/roxmenu ; rm /etc/roxmenu"
+ ". /etc/roxmenu ; rm /etc/roxmenu"
--- End Message ---