summaryrefslogtreecommitdiff
path: root/testing/libcanberra/libcanberra.install
blob: 7f50121993802e98e053721c0841ab6ec855527f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
pkgname=libcanberra

post_install() {
  if [ -x usr/sbin/gconfpkg ]; then
    usr/sbin/gconfpkg --install ${pkgname}
  fi
}

pre_upgrade() {
  if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then
    pre_remove
  fi
}

post_upgrade() {
  post_install $1
}

pre_remove() {
  if [ -x usr/sbin/gconfpkg ]; then
    usr/sbin/gconfpkg --uninstall ${pkgname}
  fi
}