Bug#805382: profile.d script: abundant = in `[`-expression (potential bashism)
chrysn
chrysn at fsfe.org
Tue Nov 17 15:21:01 UTC 2015
Package: debian-mate-default-settings
Version: 1.10.2-4
Severity: normal
File: /etc/profile.d/debian-mate-default-settings_gtk-accessibility.sh
The abovementioned file, when sourced by dash or zsh, produces error
messages due to the use of `==` in a test-expression (`[`):
> $ dash -l
> dash: 17: [: x: unexpected operator
zsh does not by default source /etc/profile, but if it is made to do
explicitly:
> % . /etc/profile
> /etc/profile.d/debian-mate-default-settings_gtk-accessibility.sh:17: = not found
just replacing the `==` with `=` should make the script posix-shell
compatible.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages debian-mate-default-settings depends on:
ii desktop-file-utils 0.22-1
debian-mate-default-settings recommends no packages.
Versions of packages debian-mate-default-settings suggests:
ii mate-desktop-environment-core 1.10.0+1
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mate-team/attachments/20151117/0d21de35/attachment.sig>
More information about the pkg-mate-team
mailing list