You are not logged in.

#1 2011-03-01 01:19:42

Floft
Member
Registered: 2009-11-15
Posts: 43

Spinach (bash script)

Hello,

The other day I was talking in the IRC channel and mentioned a little script I wrote to download packages from the AUR. Somebody wondered how I would update packages... I hadn't thought that far into the future. However, now I have. I whipped up a little bash script. It does only the basics, but I was wondering if somebody could check it over and see if I'm doing anything horrendous. Sorry, the tabbing is messed up in a few places.

Script: http://floft.net/uploads/spinach/spinach (also in the AUR)
Description: http://floft.net/wiki/Scripts.html

As for the name, I was going to name it "tower" since it's amazingly similar to "cower," but I didn't want to cause any confusion. Thus, I named it after a wonderful food.

Note: The goal was to see how small I could make a functional AUR helper... I know there's a lot of perfectly good ones already. smile

Garrett

Last edited by Floft (2012-06-28 17:44:30)

Offline

#2 2011-03-01 01:59:40

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Spinach (bash script)

Odd that you would use both curl and wget. curl proves to be far more useful in the long run, doing everything that wget does (and more). Neat idea though. I've toyed with minimalist bash-based AUR helpers, as well as wrapping cower.

Offline

#3 2011-03-01 03:00:58

Floft
Member
Registered: 2009-11-15
Posts: 43

Re: Spinach (bash script)

Yeah, I guess that is odd. It now only uses curl.

Offline

Board footer

Powered by FluxBB