summarylogtreecommitdiffstats
path: root/mestrenova.install
blob: b2a25406e642d140b1ef209d4f03dd035843efc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

post_install() {
  MESTRENOVA_DIR="/opt/MestReNova"
  if test -e "${MESTRENOVA_DIR}"/install/postinst.bash; then
    bash "${MESTRENOVA_DIR}"/install/postinst.bash
  fi
}

post_upgrade() {
  post_install $1
}

pre_remove() {
  MESTRENOVA_DIR="/opt/MestReNova"
  if test -e "${MESTRENOVA_DIR}"/install/prerm.bash; then
    bash "${MESTRENOVA_DIR}"/install/prerm.bash
  fi
}