summaryrefslogtreecommitdiff
path: root/pcr/newlisp/newlisp.install
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-12-31 17:29:39 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-12-31 17:29:39 -0300
commit6f102d1647580e0bb9513c124b26a64c77da4f15 (patch)
tree0340f1f588be251183fe2b251bdba778f2c85c22 /pcr/newlisp/newlisp.install
parent433900b14f11dc9ee55b72e8e5946bf47f65b636 (diff)
parentb6cb10de275cea63bab0bee2a98342afa4fdc4ee (diff)
Merge branch 'master' of ssh://gparabola/srv/git/abslibre
Diffstat (limited to 'pcr/newlisp/newlisp.install')
-rw-r--r--pcr/newlisp/newlisp.install20
1 files changed, 20 insertions, 0 deletions
diff --git a/pcr/newlisp/newlisp.install b/pcr/newlisp/newlisp.install
new file mode 100644
index 000000000..2c7fd8481
--- /dev/null
+++ b/pcr/newlisp/newlisp.install
@@ -0,0 +1,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
+}
+