summarylogtreecommitdiffstats
path: root/beakerbrowser.install
blob: a86626c8b0f4021d092fbb329b72a651523aed7c (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
msg_blue()·{
    printf·"${BLUE}==>${ALL_OFF}${BOLD}·$1${ALL_OFF}\n"
}

# Colored makepkg-like functions
note() {
    printf "${blue}==>${yellow} NOTE:${bold} $1${all_off}\n"
}

ALL_OFF="$(tput·sgr0)"
BOLD="$(tput·bold)"
BLUE="${BOLD}$(tput·setaf·4)"
YELLOW="${BOLD}$(tput·setaf·3)"

post_install() {
	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
  	update-desktop-database -q
  	
  	note "npm run rebuild #see https://github.com/electron/electron/issues/5851"
}

post_upgrade() {
  post_install
}

post_remove() {
  post_install
}