aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Arrskog <topfs2@xbmc.org>2014-08-19 09:39:47 +0200
committerTobias Arrskog <topfs2@xbmc.org>2014-08-19 09:39:47 +0200
commite6c2a13ff7e665235bc734d4a13d52ca19e5f45a (patch)
tree83bd123c7bfbbf81ffc62e2f09a661d2122e8dec
parentf5b894bd1576ec6895041e286ae6f668afbaa4fa (diff)
parentb10f74f01a8e84bfbfbb72e16a28cddfe8d5d515 (diff)
Merge pull request #5241 from Memphiz/fixatv2packaging
[atv2/packaging] - fix cp error when installing on old ios4.2 versions
-rw-r--r--tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh.in b/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh.in
index bab0695d9d..10a15b4c36 100644
--- a/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh.in
+++ b/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh.in
@@ -85,6 +85,7 @@ chmod +x $DIRNAME/$PACKAGE/DEBIAN/prerm
echo "#!/bin/sh" > $DIRNAME/$PACKAGE/DEBIAN/postinst
echo "chown -R mobile:mobile /Applications/XBMC.frappliance" >> $DIRNAME/$PACKAGE/DEBIAN/postinst
echo "cp /Applications/XBMC.frappliance/AppIcon.png /Applications/AppleTV.app/com.apple.frontrow.appliance.xbmc\@720p.png" >> $DIRNAME/$PACKAGE/DEBIAN/postinst
+echo "mkdir -p /private/var/mobile/Library/Caches/AppleTV/MainMenu/" >> $DIRNAME/$PACKAGE/DEBIAN/postinst
echo "cp /Applications/XBMC.frappliance/AppIcon.png /private/var/mobile/Library/Caches/AppleTV/MainMenu/com.apple.frontrow.appliance.xbmc@720.png" >> $DIRNAME/$PACKAGE/DEBIAN/postinst
echo "cp /Applications/XBMC.frappliance/AppIcon.png /Applications/XBMC.frappliance/TopRowIcon.png" >> $DIRNAME/$PACKAGE/DEBIAN/postinst
echo "if [ \"\`uname -r\`\" = \"10.3.1\" ]; then" >> $DIRNAME/$PACKAGE/DEBIAN/postinst