summaryrefslogtreecommitdiff
path: root/pcr/newlisp/newlisp.install
blob: 2c7fd8481f8ed5489ac62a54d2d87fa3b2f2e82e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
pre_install() {
  rm /usr/bin/newlisp
}

post_install() {
  ln -sf /usr/bin/newlisp-10.4.5 /usr/bin/newlisp
}

pre_upgrade() {
[[ -f /usr/bin/newlisp ]] && rm /usr/bin/newlisp
}

post_upgrade() {
  ln -sf /usr/bin/newlisp-10.4.5 /usr/bin/newlisp
}

pre_remove() {
[[ -f /usr/bin/newlisp ]] && rm /usr/bin/newlisp
}