summarylogtreecommitdiffstats
path: root/.INSTALL
blob: f529b4c94c591529dfc48dd76d8cf35ddb897e64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
post_install() {
    LINK=/usr/bin/phalcon
    if [ -L $LINK ]; then
    	rm -f $LINK
    fi
	ln -sf /opt/phalcon-devtools/phalcon $LINK
	chmod ugo+x $LINK
}

post_upgrade() {
    post_install
}

post_remove() {
    LINK=/usr/bin/phalcon
    if [ -L $LINK ]; then
    	rm -f $LINK
    fi
}