aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authordavilla <davilla@4pi.com>2011-10-31 13:51:24 -0400
committerdavilla <davilla@4pi.com>2011-10-31 13:51:43 -0400
commitfe5eff11e689ec935b2a8368a6ee9bb86da09118 (patch)
treed290b66f55a99aaef44ba1735d5726c3ed31b0fd /tools
parent1409e7872e551d71f4c6d2d166bbadded3b68ead (diff)
[ios] added, if /var/mobile/Media/Photos/seas0nTV.png exists on install, then remove it. Added at request of Firecore
Diffstat (limited to 'tools')
-rwxr-xr-xtools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh b/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh
index 39b8cce610..972ca2ccce 100755
--- a/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh
+++ b/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh
@@ -86,6 +86,11 @@ echo "else" >> $DIRNAME/$PACKAGE/DEBIAN/po
echo " ln -sf /Applications/XBMC.frappliance /Applications/AppleTV.app/Appliances/XBMC.frappliance" >> $DIRNAME/$PACKAGE/DEBIAN/postinst
echo " killall AppleTV" >> $DIRNAME/$PACKAGE/DEBIAN/postinst
echo "fi" >> $DIRNAME/$PACKAGE/DEBIAN/postinst
+echo "FILE=/var/mobile/Media/Photos/seas0nTV.png" >> $DIRNAME/$PACKAGE/DEBIAN/postinst
+echo "if [ -f \$FILE ]; then" >> $DIRNAME/$PACKAGE/DEBIAN/postinst
+echo " echo \"File \$FILE exists. removing...\"" >> $DIRNAME/$PACKAGE/DEBIAN/postinst
+echo " rm \$FILE" >> $DIRNAME/$PACKAGE/DEBIAN/postinst
+echo "fi" >> $DIRNAME/$PACKAGE/DEBIAN/postinst
chmod +x $DIRNAME/$PACKAGE/DEBIAN/postinst
# prep XBMC.frappliance