Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- set -e
- echo "********************************************************"
- echo "* *"
- echo "* Automated update v1.0 *"
- echo "* for update Lazarus/FPC (SVN version) *"
- echo "* *"
- echo "* Script by silvioprog and Lazarus team *"
- echo "* http://silvioprog.com.br *"
- echo "* http://www.lazarus.freepascal.org/ *"
- echo "* *"
- echo "* This script is designed for Ubuntu x86 (32 Bit) *"
- echo "* *"
- echo "********************************************************"
- echo ""
- echo "WARNING: The update will take a while, please wait!"
- echo ""
- echo "Step 1: Updating FPC SVN..."
- echo ""
- cd ~/fpc
- svn update
- echo ""
- echo "Step 2: Compiling new FPC..."
- echo ""
- make clean all
- sudo make install PREFIX=/usr
- echo ""
- echo "Step 3: Updatting Lazarus SVN..."
- echo ""
- cd ../lazarus
- svn update
- echo ""
- echo "Step 4: Compiling Lazarus..."
- echo ""
- ./lazbuild --build-all --recursive --build-ide=
- echo "***********************************************"
- echo "* The automated update *"
- echo "* is *"
- echo "* finished! :) *"
- echo "* *"
- echo "* Open Lazarus in menu of your system. *"
- echo "* *"
- echo "* Please, now follow see this thread: *"
- echo "***********************************************"
- echo "http://lists.lazarus.freepascal.org/pipermail/lazarus/2011-May/063321.html"
- echo ""
- echo "Enjoy!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement