summaryrefslogtreecommitdiff
path: root/community/busybox
diff options
context:
space:
mode:
Diffstat (limited to 'community/busybox')
-rw-r--r--community/busybox/PKGBUILD4
-rw-r--r--community/busybox/busybox.install6
2 files changed, 5 insertions, 5 deletions
diff --git a/community/busybox/PKGBUILD b/community/busybox/PKGBUILD
index a9147ecac..1c696163b 100644
--- a/community/busybox/PKGBUILD
+++ b/community/busybox/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 73502 2012-07-08 17:57:22Z spupykin $
+# $Id: PKGBUILD 85655 2013-03-04 13:07:52Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Jens Pranaitis <jens@jenux.homelinux.org>
pkgname=busybox
pkgver=1.20.2
-pkgrel=1.1
+pkgrel=2
pkgdesc="Utilities for rescue and embedded systems"
arch=("i686" "x86_64" 'mips64el')
url="http://www.busybox.net"
diff --git a/community/busybox/busybox.install b/community/busybox/busybox.install
index 72a1e98b3..ecbeec39a 100644
--- a/community/busybox/busybox.install
+++ b/community/busybox/busybox.install
@@ -4,10 +4,10 @@ post_install() {
}
pre_upgrade() {
- stat -c %a bin/busybox >tmp/busybox.upgrade.script
+ busybox 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
+ [ -f tmp/busybox.upgrade.script ] && busybox chmod `busybox cat tmp/busybox.upgrade.script` bin/busybox
+ busybox rm -f tmp/busybox.upgrade.script
}