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

Pligg SVN SSH Files

By: a guest on Jun 4th, 2010  |  syntax: Bash  |  size: 1.80 KB  |  views: 900  |  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/bash
  2. echo "Beginning SVN Installation...";
  3. svn co https://pligg.svn.sourceforge.net/svnroot/pligg/trunk/ .
  4. echo "SVN Files Added!";
  5.  
  6. echo "Renaming Files...";
  7. mv languages/lang_english.conf.default languages/lang_english.conf
  8. mv languages/lang_arabic.conf.default languages/lang_arabic.conf
  9. mv languages/lang_chinese_simplified.conf.default languages/lang_chinese_simplified.conf
  10. mv languages/lang_german.conf.default languages/lang_german.conf
  11. mv languages/lang_italian.conf.default languages/lang_italian.conf
  12. mv languages/lang_russian.conf.default languages/lang_russian.conf
  13. mv languages/lang_thai.conf.default languages/lang_thai.conf
  14. mv languages/lang_turkmen.conf.default languages/lang_turkmen.conf
  15. mv bannedips.txt.default bannedips.txt
  16. mv settings.php.default settings.php
  17. mv local-antispam.txt.default local-antispam.txt
  18. mv libs/dbconnect.php.default libs/dbconnect.php
  19. # mv htaccess.default .htaccess
  20. echo "File Renaming Complete!";
  21.  
  22. echo "Setting CHMOD Permissions...";
  23. chmod 777 cache
  24. chmod 777 cache/admin_c
  25. chmod 777 cache/templates_c
  26. chmod 777 admin/backup
  27. chmod 777 avatars/groups_uploaded
  28. chmod 777 avatars/user_uploaded
  29. chmod 777 languages
  30. chmod 777 languages/installer_lang.php
  31. chmod 777 languages/installer_lang_default.php
  32. chmod 777 languages/lang_english.conf
  33. chmod 777 languages/lang_arabic.conf
  34. chmod 777 languages/lang_chinese_simplified.conf
  35. chmod 777 languages/lang_german.conf
  36. chmod 777 languages/lang_italian.conf
  37. chmod 777 languages/lang_russian.conf
  38. chmod 777 languages/lang_thai.conf
  39. chmod 777 languages/lang_turkmen.conf
  40. chmod 666 libs/dbconnect.php
  41. chmod 666 bannedips.txt
  42. chmod 666 settings.php
  43. chmod 666 local-antispam.txt
  44. echo "CHMOD Permissions Complete!";
  45.  
  46. echo "Upgrading SVN...";
  47. svn up
  48. echo "SVN Up to Date!";
  49.  
  50. echo "SVN Installation Complete!";