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 Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git]
/
sreadahead
/
sreadahead.install
blob
dbf77edd3969ba509d39f3276870764589b742d4
1
post_install() {
2
3
if [ ! -d /var/lib/sreadahead ]; then
4
/bin/mkdir /var/lib/sreadahead
5
fi
6
7
if [ ! -d /var/lib/sreadahead/debugfs ]; then
8
/bin/mkdir /var/lib/sreadahead/debugfs
9
fi
10
11
}
12
13
post_upgrade() {
14
post_install
15
}
16
17
post_remove() {
18
19
if [ -d /var/lib/sreadahead ]; then
20
rm -rf /var/lib/sreadahead
21
fi
22
23
}