<div dir="ltr">not quite:<div><br></div><div><div>sudo for rep in ppa:dhor/myway ppa:hugin/hugin-builds ppa:mc3man/trusty-media ppa:nilarimogard/webupd8 ppa:otto-kesselgulasch/gimp ppa:yannubuntu/boot-repair; do add-apt-repository $rep ; done </div><div>bash: syntax error near unexpected token `do'</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 25, 2016 at 9:57 PM, Rusty Carruth <span dir="ltr"><<a href="mailto:rustycar54@descomp.com" target="_blank">rustycar54@descomp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div>On 03/25/2016 01:30 PM, Carruth, Rusty
wrote:<br>
</div>
<blockquote type="cite">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">for
rep in <whatever1> <whatever2> <
whatever3> ; do add-apt-repository $rep ; done<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">There.
A command that will take a list of repos. And if you did
that a lot, make it an alias or a function:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">function
addrepos() { for rep in $* ; do add-apt-repository $rep ;
done ; }<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Put
in bashrc or whatever and there you go, a single command.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
<a href="mailto:plug-discuss-bounces@lists.phxlinux.org" target="_blank">plug-discuss-bounces@lists.phxlinux.org</a>
[<a href="mailto:plug-discuss-bounces@lists.phxlinux.org" target="_blank">mailto:plug-discuss-bounces@lists.phxlinux.org</a>]
<b>On Behalf Of </b>Michael<br>
<u></u><u></u></span></p><span class="">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">bummer. thanks for the news!<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Fri, Mar 25, 2016 at 1:01 PM, Brian
Cluff <<a href="mailto:brian@snaptek.com" target="_blank">brian@snaptek.com</a>>
wrote:<u></u><u></u></p>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt">add-apt-repository
only takes a single repository at a time.<br>
<br>
Brian</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On 03/25/2016 06:10 AM, Michael
wrote:<u></u><u></u></p>
</div>
</div>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<div>
<p class="MsoNormal">does <span style="font-size:9.5pt"> 'add-apt-repository
<whatever>' work like 'apt-get install
<whatever>' where you can just list the
repositories after one ' add-apt-repository?</span><br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt">'add-apt-repository
<whatever1> <whatever2> <whatever3> <whatever4>'
</span><br>
</p>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</span></div>
</blockquote>
<br>
</div>
<br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8000001907349px">:-)~MIKE~(-:</span><br></div></div></div></div></div>
</div>