aboutsummaryrefslogtreecommitdiff
path: root/tools/darwin/packaging/xbmc-ios
diff options
context:
space:
mode:
authordavilla <davilla@4pi.com>2011-08-31 21:13:10 -0400
committerdavilla <davilla@4pi.com>2011-08-31 21:13:10 -0400
commit083229e405c30946135f23753a17f9798eff884e (patch)
treec0675e2f9feec952316b2785209beb5695bc5d37 /tools/darwin/packaging/xbmc-ios
parent53f11ce5d359ef62ee343d8335850aba7d166690 (diff)
[ios] fixed, replace rm -rf with find -delete to fix issues with 4.3 untether which uses a unionfs. We do both atv2 and iOS devices to keep things consistant
Diffstat (limited to 'tools/darwin/packaging/xbmc-ios')
-rwxr-xr-xtools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh b/tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh
index 5ebb67e869..acc13149a2 100755
--- a/tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh
+++ b/tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh
@@ -58,7 +58,7 @@ echo "Icon: file:///Applications/Cydia.app/Sources/mirrors.xbmc.org.png" >> $DIR
# prerm: called on remove and upgrade - get rid of existing bits.
echo "#!/bin/sh" > $DIRNAME/$PACKAGE/DEBIAN/prerm
-echo "rm -rf /Applications/XBMC.app" >> $DIRNAME/$PACKAGE/DEBIAN/prerm
+echo "find /Applications/XBMC.app -delete" >> $DIRNAME/$PACKAGE/DEBIAN/prerm
chmod +x $DIRNAME/$PACKAGE/DEBIAN/prerm
# postinst: nothing for now.