summarylogtreecommitdiffstats
path: root/.INSTALL
blob: f7933390368624c88668c4cb8ab22076fa5df5a0 (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 -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
}