summarylogtreecommitdiffstats
path: root/.INSTALL
diff options
context:
space:
mode:
authorMaxim Novikov2016-09-21 17:14:05 +0300
committerMaxim Novikov2016-09-21 17:14:05 +0300
commitea6b1f45b58b50d9b85b5fa94b5714b031b2141d (patch)
treeba6f970ef8de80ce75fd2b3aa70723a3d891e8b5 /.INSTALL
downloadaur-ea6b1f45b58b50d9b85b5fa94b5714b031b2141d.tar.gz
v3.0.1
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
+}