diff options
author | davilla <davilla@4pi.com> | 2011-10-31 13:51:24 -0400 |
---|---|---|
committer | davilla <davilla@4pi.com> | 2011-10-31 13:51:43 -0400 |
commit | fe5eff11e689ec935b2a8368a6ee9bb86da09118 (patch) | |
tree | d290b66f55a99aaef44ba1735d5726c3ed31b0fd /tools | |
parent | 1409e7872e551d71f4c6d2d166bbadded3b68ead (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-x | tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh | 5 |
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 |