Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit fe5eff11e689ec935b2a8368a6ee9bb86da09118 1 parent 1409e78
@davilla davilla authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh
View
5 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
Please sign in to comment.
Something went wrong with that request. Please try again.