repo.or.cz
/
aur-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git]
/
sublime-text-2
/
sublime-text-2.install
blob
0461e381fdbdafe3b3ff82e6ae87c76d0b0017a0
1
pkgname=sublime-text-2
2
3
post_install()
4
{
5
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"
13
14
}
15
16
post_upgrade()
17
{
18
post_install $1
19
}
20
21
22
post_remove()
23
{
24
if [ -h /usr/bin/sublime-text ]
25
then
26
rm -f /usr/bin/sublime-text
27
fi
28
}