document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. #!/bin/bash
  2. clear
  3. echo " "
  4. echo " "
  5. echo " ''~'' "
  6. echo " ( o o ) "
  7. echo " +------------------.oooO--(_)--Oooo.------------------+ "
  8. echo " | | "
  9. echo " | LINUX.. BASH... | "
  10. echo " | .oooO | "
  11. echo " | ( ) Oooo. | "
  12. echo " +---------------------\\ (----( )--------------------+ "
  13. echo " \\_) ) / "
  14. echo " (_/ "
  15. echo " http://verklighetochdrom.blogspot.se/ "
  16. echo " "
  17. echo " hynt@speed-mailer.com "
  18. echo " "
  19. the_ppa01="deb http://archive.getdeb.net/ubuntu trusty-getdeb apps"
  20. the_ppa02="deb http://packages.linuxmint.com rebecca main upstream import"
  21. the_ppa03="deb http://extra.linuxmint.com rebecca main"
  22. the_ppa04="deb http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse"
  23. the_ppa05="deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse"
  24. the_ppa06="deb http://security.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse"
  25. the_ppa07="deb http://archive.canonical.com/ubuntu/ trusty partner"
  26. the_ppa08="deb http://ppa.launchpad.net/osmoma/audio-recorder/ubuntu trusty main"
  27. the_ppa09="deb-src http://ppa.launchpad.net/osmoma/audio-recorder/ubuntu trusty main"
  28. #the_ppa10="deb http://www.remastersys.com/ubuntu precise main"
  29. the_ppa11="deb http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu trusty main"
  30. the_ppa12="deb http://ppa.launchpad.net/linuxonly/modem+manager+gui/ubuntu trusty main"
  31. the_ppa13="deb-src http://ppa.launchpad.net/linuxonly/modem+manager+gui/ubuntu trusty main"
  32. the_ppa14="deb http://ppa.launchpad.net/lkjoel/fix404sudo/ubuntu trusty main"
  33. echo "IF this is a new PPA, adding is Ok!"
  34. echo "$the_ppa01"
  35. echo "$the_ppa02"
  36. echo "$the_ppa03"
  37. echo "$the_ppa04"
  38. echo "$the_ppa05"
  39. echo "$the_ppa06"
  40. echo "$the_ppa07"
  41. echo "$the_ppa08"
  42. echo "$the_ppa09"
  43. echo "$the_ppa10"
  44. echo "$the_ppa11"
  45. echo "$the_ppa12"
  46. echo "$the_ppa13"
  47. echo "$the_ppa14"
  48.  
  49. if ! grep -q "$the_ppa01" /etc/apt/sources.list /etc/apt/sources.list.d/*; then
  50. # commands to add the ppa ...
  51. echo -e "\\x1B[01;89m ppa not found, adding: \\x1B[0m"
  52. sudo sh -c "echo '$the_ppa01' >> /etc/apt/sources.list"
  53. fi
  54. if ! grep -q "$the_ppa02" /etc/apt/sources.list /etc/apt/sources.list.d/*; then
  55. # commands to add the ppa ...
  56. echo -e "\\x1B[01;89m ppa not found, adding: \\x1B[0m"
  57. sudo sh -c "echo '$the_ppa02' >> /etc/apt/sources.list"
  58. fi
  59. if ! grep -q "$the_ppa03" /etc/apt/sources.list /etc/apt/sources.list.d/*; then
  60. # commands to add the ppa ...
  61. echo -e "\\x1B[01;89m ppa not found, adding: \\x1B[0m"
  62. sudo sh -c "echo '$the_ppa03' >> /etc/apt/sources.list"
  63. fi
  64. if ! grep -q "$the_ppa04" /etc/apt/sources.list /etc/apt/sources.list.d/*; then
  65. # commands to add the ppa ...
  66. echo -e "\\x1B[01;89m ppa not found, adding: \\x1B[0m"
  67. sudo sh -c "echo '$the_ppa04' >> /etc/apt/sources.list"
  68. fi
  69. if ! grep -q "$the_ppa05" /etc/apt/sources.list /etc/apt/sources.list.d/*; then
  70. # commands to add the ppa ...
  71. echo -e "\\x1B[01;89m ppa not found, adding: \\x1B[0m"
  72. sudo sh -c "echo '$the_ppa05' >> /etc/apt/sources.list"
  73. fi
  74. if ! grep -q "$the_ppa06" /etc/apt/sources.list /etc/apt/sources.list.d/*; then
  75. # commands to add the ppa ...
  76. echo -e "\\x1B[01;89m ppa not found, adding: \\x1B[0m"
  77. sudo sh -c "echo '$the_ppa06' >> /etc/apt/sources.list"
  78. fi
  79. if ! grep -q "$the_ppa07" /etc/apt/sources.list /etc/apt/sources.list.d/*; then
  80. # commands to add the ppa ...
  81. echo -e "\\x1B[01;89m ppa not found, adding: \\x1B[0m"
  82. sudo sh -c "echo '$the_ppa07' >> /etc/apt/sources.list"
  83. fi
  84. if ! grep -q "$the_ppa08" /etc/apt/sources.list /etc/apt/sources.list.d/*; then
  85. # commands to add the ppa ...
  86. echo -e "\\x1B[01;89m ppa not found, adding: \\x1B[0m"
  87. sudo sh -c "echo '$the_ppa08' >> /etc/apt/sources.list"
  88. fi
  89. if ! grep -q "$the_ppa09" /etc/apt/sources.list /etc/apt/sources.list.d/*; then
  90. # commands to add the ppa ...
  91. echo -e "\\x1B[01;89m ppa not found, adding: \\x1B[0m"
  92. sudo sh -c "echo '$the_ppa09' >> /etc/apt/sources.list"
  93. fi
  94. #if ! grep -q "$the_ppa10" /etc/apt/sources.list /etc/apt/sources.list.d/*; then
  95. # # commands to add the ppa ...
  96. # echo -e "\\x1B[01;89m ppa not found, adding: \\x1B[0m"
  97. # sudo sh -c "echo '$the_ppa10' >> /etc/apt/sources.list"
  98. #fi
  99. if ! grep -q "$the_ppa11" /etc/apt/sources.list /etc/apt/sources.list.d/*; then
  100. # commands to add the ppa ...
  101. echo -e "\\x1B[01;89m ppa not found, adding: \\x1B[0m"
  102. sudo sh -c "echo '$the_ppa11' >> /etc/apt/sources.list"
  103. sudo apt-get update
  104. sudo apt-get install y-ppa-manager
  105.  
  106. fi
  107. if ! grep -q "$the_ppa12" /etc/apt/sources.list /etc/apt/sources.list.d/*; then
  108. # commands to add the ppa ...
  109. echo -e "\\x1B[01;89m ppa not found, adding: \\x1B[0m"
  110. sudo sh -c "echo '$the_ppa12' >> /etc/apt/sources.list"
  111.  
  112. fi
  113. if ! grep -q "$the_ppa13" /etc/apt/sources.list /etc/apt/sources.list.d/*; then
  114. # commands to add the ppa ...
  115. echo -e "\\x1B[01;89m ppa not found, adding: \\x1B[0m"
  116. sudo sh -c "echo '$the_ppa13' >> /etc/apt/sources.list"
  117. sudo apt-get update
  118. sudo apt-get install modem-manager-gui
  119. fi
  120. if ! grep -q "$the_ppa14" /etc/apt/sources.list /etc/apt/sources.list.d/*; then
  121. # commands to add the ppa ...
  122. echo -e "\\x1B[01;89m ppa not found, adding: \\x1B[0m"
  123. sudo sh -c "echo '$the_ppa14' >> /etc/apt/sources.list"
  124. sudo apt-get updates
  125. sudo apt-get install fix404
  126. fi
  127. sudo apt-get update
');