{"id":804,"date":"2014-07-12T19:58:20","date_gmt":"2014-07-13T03:58:20","guid":{"rendered":"http:\/\/betips.net\/?p=804"},"modified":"2014-07-12T19:58:20","modified_gmt":"2014-07-13T03:58:20","slug":"upgrade-haiku-nightly-build-with-this-simple-script","status":"publish","type":"post","link":"https:\/\/www.betips.net\/?p=804","title":{"rendered":"Upgrade Haiku nightly build with this simple script"},"content":{"rendered":"<p>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:<br \/>\n1. Create a simple text file and name it \u201dupgrade\u201d<br \/>\n2. Paste the following into the text file:<\/p>\n<pre>\n#!\/bin\/sh\npkgman add-repo http:\/\/packages.haiku-os.org\/haikuports\/master\/repo\/x86_gcc2\/current\npkgman add-repo http:\/\/download.haiku-os.org\/haiku-repositories\/master\/x86_gcc2\/current\/\npkgman update -y\nsync\nsleep 1\nshutdown -r\n<\/pre>\n<p>3. Make the text file executable from the Terminal:<br \/>\n<code>chmod +x upgrade<\/code><br \/>\n4. Launch the script from the Terminal with <code>.\/upgrade<\/code><br \/>\nOptionally you can move the script to <code>\/booh\/home\/config<\/code> into the <code>\/bin<\/code> directory so you can invoke it from anywhere.<br \/>\nWhat 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.<br \/>\n<em>Contributed by Razvan T. Coloja &#8211; cypresstwist@gmail.com<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 \u201dupgrade\u201d 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 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[4],"class_list":["post-804","post","type-post","status-publish","format-standard","hentry","tag-haiku"],"_links":{"self":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts\/804","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=804"}],"version-history":[{"count":0,"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts\/804\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=804"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=804"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=804"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}