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 Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git]
/
xmonad-darcs
/
xmonad.install
blob
e5844da2c476fdbab2570ee9b54c85956783acf3
1
HS_DIR=/usr/share/haskell/xmonad-darcs
2
regenerate_index() {
3
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
4
}
5
post_install() {
6
${HS_DIR}/register.sh
7
regenerate_index
8
}
9
pre_upgrade() {
10
${HS_DIR}/unregister.sh
11
}
12
post_upgrade() {
13
${HS_DIR}/register.sh
14
regenerate_index
15
}
16
pre_remove() {
17
${HS_DIR}/unregister.sh
18
}
19
post_remove() {
20
regenerate_index
21
}
22
op=$1
23
shift
24
$op $*