summarylogtreecommitdiffstats
path: root/chromium-dev.install
blob: d71ae8d1ba82ab7e669b57d8338b17a2fafa633e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
all_off="$(tput sgr0)"
bold="${all_off}$(tput bold)"
yellow="${bold}$(tput setaf 3)"
blue="${bold}$(tput setaf 4)"
green="${bold}$(tput setaf 2)"

_instructions() {
  printf "${yellow}==>${all_off} ${bold}ATENTION:${all_off}
${green}==>${all_off} ${bold}This Chromium package no longer supports custom flags passed via the
   '/etc/chromium-dev/default' file (or any other files under '/etc/chromium-dev/').
  ${blue}->${all_off} The new '${bold}/usr/bin/chromium-dev${all_off}' launcher script will automatically detect
     Pepper Flash (if installed) and pass the correct flags to Chromium.'
  ${blue}->${all_off} If you need to pass extra command-line arguments to Chromium, you
     can put them in the '${bold}chromium-dev-flags.conf${all_off}' file under '${bold}\x24HOME/.config/'${all_off}
     (or ${bold}\x24XDG_CONFIG_HOME${all_off}). Arguments are split on whitespace and shell
     quoting rules apply but no further parsing is performed.
${green}==>${all_off} ${bold}If you use Kwallet5 from Plasma/Kf5:${all_off}
  ${blue}->${all_off} You needs add '${bold}\"--password-store=kwallet5\"${all_off}' into '${bold}chromium-dev-flags.conf${all_off}' file
     under '${bold}\x24HOME/.config/${all_off}' (or ${bold}\x24XDG_CONFIG_HOME${all_off}).
${green}==>${all_off} ${bold}Chromium-dev Policy path:${all_off}
  ${blue}->${all_off} Is stored into '${bold}/etc/chromium-dev/policies${all_off}'.
${green}==>${all_off} ${bold}Chromium-dev Native Messaging Hosts path:${all_off}
  ${blue}->${all_off} Is stored into '${bold}/etc/chromium-dev/native-messaging-hosts${all_off}'.
${green}==>${all_off} ${bold}Chromium-dev external extensions path:${all_off}
  ${blue}->${all_off} Is stored into '${bold}/usr/share/chromium-dev/extensions${all_off}'.\n"
}

post_install() {
  _instructions
}

post_upgrade() {
  _instructions
}