repo.or.cz
/
syslinux-debian
/
hramrach.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Make linux optional as all other configs.
[syslinux-debian/hramrach.git]
/
debian
/
syslinux-stuff.postrm
blob
95f12266430f0fa1a2dd02da52a789f73f712612
1
#!/bin/sh
2
3
set -e
4
5
case
"
${1}
"
in
6
purge
)
7
chattr
-i
/
boot
/
extlinux
/
ldlinux.sys
> /
dev
/
null
2
>&
1
|| true
8
rm
-rf
/
boot
/
extlinux
9
10
rm
-f
/
etc
/
default
/
extlinux
11
;;
12
13
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear
)
14
15
;;
16
17
*)
18
echo
"postrm called with unknown argument \`
${1}
'"
>&
2
19
exit
1
20
;;
21
esac
22
23
#DEBHELPER#
24
25
exit
0