summaryrefslogtreecommitdiff
path: root/community/busybox/busybox.install
diff options
context:
space:
mode:
authorJoe <joe@joelightning.com>2011-10-20 22:51:34 +0100
committerJoe <joe@joelightning.com>2011-10-20 22:51:34 +0100
commite866f0523be39471f4ff960fde220ff65ecfe503 (patch)
tree773659d4e29799c113d364c02b76b8bcde29d932 /community/busybox/busybox.install
parent3bba0cffb3b78e071fed7a076a70916dee05a38e (diff)
parent5c0a5f2b9fa7f1683f279728342aa7f5f0cf90a3 (diff)
Merge branch 'master' of ssh://parabola-git/abslibre-mips64el
Diffstat (limited to 'community/busybox/busybox.install')
-rw-r--r--community/busybox/busybox.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/busybox/busybox.install b/community/busybox/busybox.install
new file mode 100644
index 000000000..233b70799
--- /dev/null
+++ b/community/busybox/busybox.install
@@ -0,0 +1,13 @@
+post_install() {
+ echo "You may want to do setuid on /bin/busybox"
+ echo " chmod 4555 /bin/busybox"
+}
+
+pre_upgrade() {
+ stat -c %a /bin/busybox >tmp/busybox.upgrade.script
+}
+
+post_upgrade() {
+ [ -f tmp/busybox.upgrade.script ] && chmod `cat tmp/busybox.upgrade.script` /bin/busybox
+ rm -f tmp/busybox.upgrade.script
+}