Advertisement
Guest User

Untitled

a guest
Jun 2nd, 2011
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.83 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. echo "********************************************************"
  6. echo "*                                                      *"
  7. echo "*                  Automated update v1.0               *"
  8. echo "*         for update Lazarus/FPC (SVN version)         *"
  9. echo "*                                                      *"
  10. echo "*         Script by silvioprog and Lazarus team        *"
  11. echo "*                http://silvioprog.com.br              *"
  12. echo "*           http://www.lazarus.freepascal.org/         *"
  13. echo "*                                                      *"
  14. echo "*   This script is designed for Ubuntu x86 (32 Bit)    *"
  15. echo "*                                                      *"
  16. echo "********************************************************"
  17. echo ""
  18. echo "WARNING: The update will take a while, please wait!"
  19.  
  20. echo ""
  21. echo "Step 1: Updating FPC SVN..."
  22. echo ""
  23. cd ~/fpc
  24. svn update
  25.  
  26. echo ""
  27. echo "Step 2: Compiling new FPC..."
  28. echo ""
  29. make clean all
  30. sudo make install PREFIX=/usr
  31.  
  32. echo ""
  33. echo "Step 3: Updatting Lazarus SVN..."
  34. echo ""
  35. cd ../lazarus
  36. svn update
  37.  
  38. echo ""
  39. echo "Step 4: Compiling Lazarus..."
  40. echo ""
  41. make clean all
  42. ./lazbuild --build-all --recursive --build-ide=
  43.  
  44. echo "***********************************************"
  45. echo "*            The automated update             *"
  46. echo "*                     is                      *"
  47. echo "*                 finished! :)                *"
  48. echo "*                                             *"
  49. echo "*     Open Lazarus in menu of your system.    *"
  50. echo "*                                             *"
  51. echo "*     Please, now follow see this thread:     *"
  52. echo "***********************************************"
  53. echo "http://lists.lazarus.freepascal.org/pipermail/lazarus/2011-May/063321.html"
  54. echo ""
  55. echo "Enjoy!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement