diff options
author | Joe <joe@joelightning.com> | 2011-10-20 22:51:34 +0100 |
---|---|---|
committer | Joe <joe@joelightning.com> | 2011-10-20 22:51:34 +0100 |
commit | e866f0523be39471f4ff960fde220ff65ecfe503 (patch) | |
tree | 773659d4e29799c113d364c02b76b8bcde29d932 /community/busybox/busybox.install | |
parent | 3bba0cffb3b78e071fed7a076a70916dee05a38e (diff) | |
parent | 5c0a5f2b9fa7f1683f279728342aa7f5f0cf90a3 (diff) |
Merge branch 'master' of ssh://parabola-git/abslibre-mips64el
Diffstat (limited to 'community/busybox/busybox.install')
-rw-r--r-- | community/busybox/busybox.install | 13 |
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 +} |