Upgrade Haiku nightly build with this simple script
If upgrade your Haiku install frequently and want the latest and the best from the Haiku SVN, then you can follow these steps to create a script that will do just that:
1. Create a simple text file and name it ”upgrade”
2. Paste the following into the text file:
#!/bin/sh pkgman add-repo http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current pkgman add-repo http://download.haiku-os.org/haiku-repositories/master/x86_gcc2/current/ pkgman update -y sync sleep 1 shutdown -r
3. Make the text file executable from the Terminal:
chmod +x upgrade
4. Launch the script from the Terminal with ./upgrade
Optionally you can move the script to /booh/home/config
into the /bin
directory so you can invoke it from anywhere.
What the script does is download the latest HPKG of the operating system, together with the latest WebPositive and bootloader, install them then reboot your computer.
Contributed by Razvan T. Coloja – cypresstwist@gmail.com