Wiki/Vorlagen/Paketinstallation

<@ for $row in $arguments join_with ' ' split_by ' ' @> <@ for $col in $row split_by ',' @> <@ if $loop.first @>

<@ else @> <@ if $loop.index==2 @> ( <@ endif @> <@ for $word in $col split_by ' '@> <@ if ['main','restricted','universe','multiverse','security','ppa','partner'] contains $word @> <@ if ['main','restricted','universe','multiverse','security','ppa'] contains $word @><@ $word @> <@ endif @> <@ if ['partner'] contains $word @>Canonical Partner <@ endif @> <@ else @><@ $word @> <@ endif @> <@ if $loop.last or $loop.first @> <@ else @> <@ endif @> <@ endfor @> <@ if $loop.last @>) <@ else @>, <@ endif @> <@ endif @> <@ endfor @> <@ endfor @> <@ for $row in $arguments split_by ' ' @> <@ if $loop.first @> <@ if $loop.length > 0 @> Paketliste zum Kopieren:

sudo apt-get install<@ for $row in $arguments split_by ,  @> 
<@ for $col in $row split_by "," @>
<@ if $loop.first @><@ $col @>
<@ endif @>
<@ endfor @>
<@ endfor @> 

<@ endif @> <@ endif @> <@ endfor @> Oder mit apturl installieren, Link: for $row in $arguments split_by ' ' @> <@ for $col in $row split_by "," @> <@ if $loop.first @><@ $col @> <@ endif @> <@ endfor @> <@ if $loop.revindex > 1 @>, <@ endif @> <@ endfor @>