staging.inyokaproject.org

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'] contains $word @> <@ if ['main','restricted','universe','multiverse','security','ppa'] contains $word @><@ $word @> <@ 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 @> Befehl zum Installieren der Pakete:

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 @>

Diese Revision wurde am 23. November 2022 18:26 von DJKUhpisse erstellt.