aboutsummarylogtreecommitdiffstats
path: root/librewolf.install
blob: a9a2c8a77fcd2f2609f646d08661562e7f42138f (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
post_upgrade() {
  echo ">>    Remember to check for changes in /usr/lib/librewolf/librewolf.cfg.pacnew"
  echo ">>    as those will not automatically overwrite your existing librewolf.cfg."
  echo ">>    "
  echo ">>    We would encourage you to migrate your own changes to the new overrides file"
  echo ">>    at ~/.librewolf/librewolf.overrides.cfg instead, so making changes directly"
  echo ">>    in your librewolf.cfg is not necessary anymore (in most cases at least)."
  echo ">>    "
  echo ">>    Check out https://gitlab.com/librewolf-community/settings/-/merge_requests/13"
  echo ">>    for more information on this."
  
  # Update desktop database and icon cache
  update-desktop-database -q /usr/share/applications
  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
}

post_install() {
  post_upgrade
}

post_remove() {
  # Update desktop database and icon cache after removal
  update-desktop-database -q /usr/share/applications
  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
}