[Pkg-chromium-maint] Bug#789310: chromium: bashish or something found in /etc/chromium.d/default-flags
Jack
debian at jack.fr.eu.org
Fri Jun 19 17:05:51 UTC 2015
Package: chromium
Version: 43.0.2357.124-2
Severity: important
Dear Maintainer,
/etc/chromium.d/default-flags contains an incorrect statement:
export CHROMIUM_FLAGS+=--show-component-extension-options
Since /usr/bin/chromium is run with sh, I got such error:
/usr/bin/chromium: 4: export: CHROMIUM_FLAGS+: bad variable name
Two patches can solve this issue:
Either using bash as a shell instead of sh:
--- usr/bin/chromium.old 2015-06-19 19:02:31.100657157 +0200
+++ usr/bin/chromium 2015-06-19 19:02:35.512656972 +0200
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Chromium launcher
Or change the env:
--- etc/chromium.d/default-flags 2015-06-19 19:04:53.888651185 +0200
+++ etc/chromium.d/default-flags.old 2015-06-19 19:03:12.992655404 +0200
@@ -1,4 +1,4 @@
# A set of command line flags that we want to set by default.
# Do not hide any extensions in the about:extensions dialog
-export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --show-component-extension-options"
+export CHROMIUM_FLAGS+=--show-component-extension-options
Thanks for maintening!
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.0.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages chromium depends on:
ii libasound2 1.0.28-1
ii libatk1.0-0 2.16.0-2
ii libc6 2.19-18
ii libcairo2 1.14.2-2
ii libcups2 1.7.5-12
ii libdbus-1-3 1.8.18-1
ii libexpat1 2.1.0-6+b3
ii libfontconfig1 2.11.0-6.3
ii libfreetype6 2.5.2-4
ii libgdk-pixbuf2.0-0 2.31.4-2
ii libglib2.0-0 2.44.1-1
ii libgnome-keyring0 3.12.0-1+b1
ii libgtk2.0-0 2.24.28-1
ii libharfbuzz0b 0.9.40-3
ii libjpeg62-turbo 1:1.4.0-7
ii libnspr4 2:4.10.8-2
ii libnss3 2:3.19.1-2
ii libpango-1.0-0 1.36.8-3
ii libpangocairo-1.0-0 1.36.8-3
ii libpci3 1:3.2.1-3
ii libsnappy1 1.1.2-4
ii libspeechd2 0.8-7
ii libspeex1 1.2~rc1.2-1
ii libsrtp0 1.4.5~20130609~dfsg-1.1
ii libstdc++6 5.1.1-11
ii libx11-6 2:1.6.3-1
ii libxcomposite1 1:0.4.4-1
ii libxcursor1 1:1.1.14-1+b1
ii libxdamage1 1:1.1.4-2+b1
ii libxext6 2:1.3.3-1
ii libxfixes3 1:5.0.1-2+b2
ii libxi6 2:1.7.4-1+b2
ii libxml2 2.9.2+dfsg1-3
ii libxrandr2 2:1.4.2-1+b1
ii libxrender1 1:0.9.8-1+b1
ii libxslt1.1 1.1.28-2+b2
ii libxss1 1:1.2.2-1
ii libxtst6 2:1.2.2-1+b1
ii x11-utils 7.7+3
ii xdg-utils 1.1.0~rc1+git20111210-7.4
chromium recommends no packages.
Versions of packages chromium suggests:
pn chromium-l10n <none>
-- no debconf information
More information about the Pkg-chromium-maint
mailing list