summaryrefslogtreecommitdiff
path: root/community/gsmartcontrol/gsmartcontrol.install
blob: f636406f228b7c83b4ce5aa76e24f0b08e1d61bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_install() {
  which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
  echo 'If you use a lightweight windowmanager, remember to run'
  echo '/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 to enable'
  echo 'graphical authentication, which may be needed for pkexec to work.'
}

post_upgrade() {
  which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
}

post_remove() {
  which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
}