Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!

Cydia installation script

By: tuankiet65 on Dec 6th, 2012  |  syntax: Bash  |  size: 3.25 KB  |  views: 655  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #!/bin/sh
  2.  
  3. rm -rf /tmp/cyinstall
  4. mkdir /tmp/cyinstall
  5.  
  6. echo 'Downloading Debs'
  7. wget -q -O /tmp/cydia-lproj_1.1.0_iphoneos-arm.deb http://apt.saurik.com/debs/cydia-lproj_1.1.0_iphoneos-arm.deb
  8.  
  9. wget -q -O /tmp/debianutils_3.3.3ubuntu1-1_iphoneos-arm.deb http://apt.saurik.com/debs/debianutils_3.3.3ubuntu1-1_iphoneos-arm.deb
  10.  
  11. wget -q -O /tmp/org.thebigboss.repo.icons_1.0.deb http://apt.saurik.com/debs/org.thebigboss.repo.icons_1.0.deb
  12.  
  13. wget -q -O /tmp/uikittools_1.1.3_iphoneos-arm.deb http://apt.saurik.com/debs/uikittools_1.1.3_iphoneos-arm.deb
  14.  
  15. wget -q -O /tmp/cydia_1.1.6-ios6_iphoneos-arm.deb http://repo.kr1sis.net/files/cydia_ios6b3fix.deb
  16.  
  17. echo 'Unpackaging Debs'
  18. dpkg -r cydia-sources
  19. dpkg -i /tmp/debianutils_3.3.3ubuntu1-1_iphoneos-arm.deb
  20. dpkg -i /tmp/cydia-lproj_1.1.0_iphoneos-arm.deb
  21. dpkg -i /tmp/org.thebigboss.repo.icons_1.0.deb
  22. dpkg -i /tmp/uikittools_1.1.3_iphoneos-arm.deb
  23. dpkg -i /tmp/cydia_1.1.6-ios6_iphoneos-arm.deb
  24. dpkg --configure -a
  25.  
  26. rm -rf /tmp/cyinstall
  27.  
  28. cd /tmp
  29. echo 'Erasing Cache'
  30. su -c uicache mobile
  31.  
  32. echo 'Fixing Cydia'
  33. cd /Applications/Cydia.app
  34. chmod 6775 MobileCydia
  35. chown root:wheel MobileCydia
  36.  
  37. echo 'Please read carefully:'
  38. echo ''
  39. echo ' * Cydia - iPhone UIKit Front-End for Debian APT'
  40. echo ' * Copyright (C) 2008-2012  Jay Freeman (saurik)'
  41. echo ''
  42. echo ''
  43. echo ' Modified BSD License'
  44. echo ' *        Redistribution and use in source and binary'
  45. echo ' * forms, with or without modification, are permitted'
  46. echo ' * provided that the following conditions are met:'
  47. echo ' *'
  48. echo ' * 1. Redistributions of source code must retain the'
  49. echo ' *    above copyright notice, this list of conditions'
  50. echo ' *    and the following disclaimer.'
  51. echo ' * 2. Redistributions in binary form must reproduce the'
  52. echo ' *    above copyright notice, this list of conditions'
  53. echo ' *    and the following disclaimer in the documentation'
  54. echo ' *    and/or other materials provided with the'
  55. echo ' *    distribution.'
  56. echo ' * 3. The name of the author may not be used to endorse'
  57. echo ' *    or promote products derived from this software'
  58. echo ' *    without specific prior written permission.'
  59. echo ' *'
  60. echo ' * THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS"'
  61. echo ' * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,'
  62. echo ' * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF'
  63. echo ' * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE'
  64. echo ' * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE'
  65. echo ' * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,'
  66. echo ' * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT'
  67. echo ' * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR'
  68. echo ' * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS'
  69. echo ' * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF'
  70. echo ' * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR'
  71. echo ' * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN'
  72. echo ' * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF'
  73. echo ' * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.'
  74. echo ''
  75. echo 'Big thanks to WyndWarrior for making installation of'
  76. echo 'Cydia on iOS 6 beta possible.'
  77. echo ''
  78. echo 'Big thanks also to PoomSmart for fixing Cydia and making'
  79. echo 'it work on iOS 6 beta 3 (and future betas hopefully).'
  80. echo ''
  81.  
  82. killall SpringBoard
clone this paste RAW Paste Data