updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / sublime-text-2 / sublime-text-2.install
blob0461e381fdbdafe3b3ff82e6ae87c76d0b0017a0
1 pkgname=sublime-text-2
3 post_install()
6         if [ -h /usr/bin/sublime-text ] 
7         then
8                 rm -f /usr/bin/sublime-text
9         fi
10         
11         ln -s /opt/${pkgname}/sublime_text /usr/bin/sublime-text
12         #echo "done"
16 post_upgrade()
18   post_install $1
22 post_remove() 
24         if [ -h /usr/bin/sublime-text ] 
25         then
26                 rm -f /usr/bin/sublime-text
27         fi