Re: [dev] [ANN] sabotage 2011-04-30, a musl+busybox based distribution

From: Ethan Grammatikidis <eekee57_AT_fastmail.fm>
Date: Sun, 15 May 2011 19:56:38 +0100

On 13 May 2011, at 9:35 pm, Bjartur Thorlacius wrote:

> On 5/12/11, Ethan Grammatikidis <eekee57_AT_fastmail.fm> wrote:
>> A bit late but I thought it worth mentioning you don't even have to
>> install Opera 11, just untar it and run in situ. I wrote a little
>> script to cd to the highest-versioned dir matching ~/apps/opera-* and
>> run the included script. I much prefer that to a package manager
>> keeping track of where everything is.
>>
> I dislike package managers almost as much as everyone else on this
> list (while I believe them to be the best feature of mainstream Free
> distros (aside from hackability)), but seriously, wouldn't it suck
> less to use a single link and get rid of the script?

The included script relies on the basename of $0, so I'd have to
rewrite it on every upgrade. This is what I have instead:

#!/bin/sh
cd ~/apps
dir=`ls -t opera* | sed 1q`
cd $dir
./opera
Received on Sun May 15 2011 - 20:56:38 CEST

This archive was generated by hypermail 2.2.0 : Sun May 15 2011 - 21:00:05 CEST