<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Coyote Tracks &#187; shell scripting</title>
	<atom:link href="http://kagan.mactane.org/blog/tag/shell-scripting/feed/" rel="self" type="application/rss+xml" />
	<link>http://kagan.mactane.org/blog</link>
	<description>The prints of an Internet-enabled coyote.</description>
	<lastBuildDate>Tue, 31 Jan 2012 03:26:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>An Installation Shell-Script for Palm Pr&#275; Developers</title>
		<link>http://kagan.mactane.org/blog/2009/08/02/an-installation-shell-script-for-palm-pre-developers/</link>
		<comments>http://kagan.mactane.org/blog/2009/08/02/an-installation-shell-script-for-palm-pre-developers/#comments</comments>
		<pubDate>Sun, 02 Aug 2009 22:28:16 +0000</pubDate>
		<dc:creator>Kai MacTane</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[announcements]]></category>
		<category><![CDATA[my projects]]></category>
		<category><![CDATA[Palm Pre]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[shell scripting]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://kai.mactane.org/blog/?p=101</guid>
		<description><![CDATA[Last week, I wrote that I'd been working on a script to easily install homebrew apps on the Palm Pr&#275;. It now looks like there are much better ways to handle such things&#160;&#8212; I've become quite a fan of fileCoaster, myself, and of course webOSQuickInstall is a wonderful piece of work, as well. But just [...]]]></description>
			<content:encoded><![CDATA[<p>Last week, I wrote that I'd been working on a script to easily install homebrew apps on the Palm Pr&#275;. It now looks like there are much better ways to handle such things&nbsp;&mdash; I've become quite a fan of fileCoaster, myself, and of course webOSQuickInstall is a wonderful piece of work, as well. But just in case anyone might find this shell script useful, I'll release it for general use.
</p>
<p><strong>Assumptions</strong>
</p>

<ol>
	<li>You have a web-accessible server where you put your development .ipk files.</li>
	<li>You can ssh into your Pr&#275;.</li>
</ol>

<p><strong>Download</strong>
</p>
<p>You can download the script at <a href="http://kai.mactane.org/software/libraries/download/homebrew.sh">http://kai.mactane.org/software/libraries/download/homebrew.sh</a>.
</p>
<p><strong>Installation</strong>
</p>
<p>Just drop the shell script into your home directory and make it executable. If you want to be able to use the "my" argument, you'll also need to edit the three configuration variables at the beginning: MY_HOSTNAME, STDPATH, and STDVERSION.
</p>
<p><strong>Usage</strong>
</p>
<p>For most purposes, you'll just want to install your own package that you've been working on. Assuming you've set the config variables correctly, you can just type <code>./homebrew.sh my <em>appname</em></code>, where the <em>appname</em> is the base name of your package.
</p>
<p>If you're installing multiple .ipks and you don't need to restart the GUI manager for each one, you can use the "skip" command on all but the last:
</p>
<p><code>./homebrew.sh skip my foo<br />
./homebrew.sh skip my bar<br />
./homebrew.sh skip my baz<br />
./homebrew.sh my quux
</code>
</p>
<p>You can also supply a complete URL: <code>./homebrew.sh http://forums.precentral.net/spe_attachment/download-23971-com.palm.net.precoder.fcoaster_1.0.2_all.ipk</code> will download and install fileCoaster, so you won't have to mess with my script any more.
</p>
<p><strong>What It Does</strong>
</p>
<p>It automates the process of <a href="http://www.webos-internals.org/wiki/Installing_Homebrew_Apps_With_A_Rooted_Pr&#275;">installing homebrew apps with a rooted Pr&#275;</a>, as described on the webOS Internals wiki. Basically, it remounts the root partition in read-write mode, <code>wget</code>s your .ipk file, installs it, does the "Good Housekeeping" backup, remounts the root partition in read-only mode again, and then restarts the GUI manager.
</p>

]]></content:encoded>
			<wfw:commentRss>http://kagan.mactane.org/blog/2009/08/02/an-installation-shell-script-for-palm-pre-developers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

