summarylogtreecommitdiffstats
path: root/chromium-dev.install
blob: ec4b6ada45b3fccb3de1f4135d14b26f3b02ba02 (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
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/default' file (or any other files under '/etc/chromium/').
  ${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}).\n"
}

post_install() {
  _instructions
}

post_upgrade() {
  _instructions
}