summarylogtreecommitdiffstats
path: root/thunderbird.install
blob: 80e98ef372ac2b15f1feaf7806fb74206aa7b5b7 (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
all_off="$(tput sgr0)"
bold="${all_off}$(tput bold)"
blue="${bold}$(tput setaf 4)"
yellow="${bold}$(tput setaf 3)"

msg_blue() {
    printf "${blue}==>${bold} $1${all_off}\n"
}

note() {
    printf "${blue}==>${yellow} Note:${bold} $1${all_off}\n"
}

do_setcap() {
  note 'For enable Global Menu:'
  msg_blue '1. Go to Edit > Preferences > Advanced > Configuration Editor'
  msg_blue "2. Search for ${all_off}widget.gtk.global-menu.enabled"
  msg_blue "3. Set it to true"
}

post_install() {
  do_setcap
}

post_upgrade() {
  do_setcap
}