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 Wed Jan 11 08:01:35 UTC 2012
[aur-mirror.git]
/
agrsm
/
agrsm.install
blob
0efeefef734044077a060f29a03a2eadbf95d231
1
post_install()
2
{
3
KERNEL_VERSION=`uname -r`
4
depmod $KERNEL_VERSION > /dev/null 2>&1
5
}
6
7
post_upgrade()
8
{
9
post_install()
10
}
11
12
pre_remove() {
13
rmmod agrserial > /dev/null 2>&1
14
rmmod agrmodem > /dev/null 2>&1
15
}
16
17
post_remove()
18
{
19
KERNEL_VERSION=`uname -r`
20
depmod $KERNEL_VERSION > /dev/null 2>&1
21
}
22
23
op=$1
24
shift
25
$op $*
26