[arch-releng] TARGET_PACKAGES_EXCLUDE - Proof of Concept

Dieter Plaetinck dieter at plaetinck.be
Wed Apr 1 14:42:56 EDT 2009


On Wed, 1 Apr 2009 23:58:36 +1000
Jud <jud at judfilm.net> wrote:

> Just to get the ball rolling.
> 
> #!/bin/sh
use bash. aif depends on bash. besides, your code uses bashims too.

> # Proof of Concept
> 
> # ToDo:
> # Work out best place to add into the aif code
> # Sanity Checks?
> 
> var="coreutils vi vsftpd kernel26 kernel26-firmware gcc gcc-libs file
> vi pam man-pages jfsutils perl iptables"
> 
> remove="vi man-pages jfsutils iptables"
> 
> result=$var
> 
> for each_name in $remove; do
>   result=$(echo ${result//$each_name/})
> done
> 
> echo $var
> 
> echo $remove
> 
> echo $result



More information about the arch-releng mailing list