Permalink
Browse files

[ios] added, if /var/mobile/Media/Photos/seas0nTV.png exists on insta…

…ll, then remove it. Added at request of Firecore
  • Loading branch information...
1 parent 1409e78 commit fe5eff11e689ec935b2a8368a6ee9bb86da09118 @davilla davilla committed Oct 31, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 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

0 comments on commit fe5eff1

Please sign in to comment.