NetBeans nightly build updater for Mac OS X

In case you wanted to upgrade manually your NetBeans nightly build for Mac OS X you can use following script: nb_update

NOTE! Be warned that this script will remove everything under /Applications/NetBeans

Store the file at ~/bin/nb_update.sh and set it’s permission to +x (chmod +x ~/bin/nb_update.sh). Then, execute following commands:

cd /tmp
sudo ~your_mac_user_name/bin/nb_update.sh
find /Applications/NetBeans/ -name "NetBeans*.app" -exec ln -f -s {} ~/Desktop/nb \;

That’s it.