summarylogtreecommitdiffstats
path: root/.INSTALL
diff options
context:
space:
mode:
Diffstat (limited to '.INSTALL')
-rw-r--r--.INSTALL19
1 files changed, 19 insertions, 0 deletions
diff --git a/.INSTALL b/.INSTALL
new file mode 100644
index 000000000000..f79333903686
--- /dev/null
+++ b/.INSTALL
@@ -0,0 +1,19 @@
+post_install() {
+ LINK=/usr/bin/phalcon
+ if [ -L $LINK ]; then
+ rm -f $LINK
+ fi
+ ln -s /opt/phalcon-devtools/phalcon.php $LINK
+ chmod ugo+x $LINK
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ LINK=/usr/bin/phalcon
+ if [ -L $LINK ]; then
+ rm -f $LINK
+ fi
+}