Date: Monday, March 4, 2013 @ 14:07:25
  Author: spupykin
Revision: 85654

upgpkg: busybox 1.20.2-2

upd

Modified:
  busybox/trunk/PKGBUILD
  busybox/trunk/busybox.install

-----------------+
 PKGBUILD        |    2 +-
 busybox.install |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2013-03-04 11:48:58 UTC (rev 85653)
+++ PKGBUILD    2013-03-04 13:07:25 UTC (rev 85654)
@@ -4,7 +4,7 @@
 
 pkgname=busybox
 pkgver=1.20.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Utilities for rescue and embedded systems"
 arch=("i686" "x86_64")
 url="http://www.busybox.net";

Modified: busybox.install
===================================================================
--- busybox.install     2013-03-04 11:48:58 UTC (rev 85653)
+++ busybox.install     2013-03-04 13:07:25 UTC (rev 85654)
@@ -4,10 +4,10 @@
 }
 
 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
 }

Reply via email to