projects
/
busybox-power
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
set MAKETHREADS from the number of cores counted
[busybox-power]
/
debian
/
busybox-power.prerm
diff --git
a/debian/busybox-power.prerm
b/debian/busybox-power.prerm
index
3875fd2
..
74a9f95
100644
(file)
--- a/
debian/busybox-power.prerm
+++ b/
debian/busybox-power.prerm
@@
-3,3
+3,9
@@
set -e
sh /opt/busybox-power/uninstall-binary.sh
+line="trap exit SIGHUP #by busybox-power"
+if grep -F -q "$line" /etc/profile; then
+ sed "/$line/d" /etc/profile > /tmp/profile.sed
+ mv /tmp/profile.sed /etc/profile
+fi
+