projects
/
busybox-power
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
vi: implement :p (go to previous file)
[busybox-power]
/
debian
/
busybox-power.prerm
1
#!/bin/sh
2
set -e
3
4
sh /opt/busybox-power/uninstall-binary.sh
5
6
line="trap exit SIGHUP #by busybox-power"
7
if grep -F -q "$line" /etc/profile; then
8
sed "/$line/d" /etc/profile > /tmp/profile.sed
9
mv /tmp/profile.sed /etc/profile
10
fi
11