www: bc8da653: Sourcing /etc/lsb-release doesn't actual.

darkrain42 at pidgin.im darkrain42 at pidgin.im
Mon Jun 22 22:10:29 EDT 2009


-----------------------------------------------------------------
Revision: bc8da65317cc0561cbcb5e1cc24477209d99e8c8
Ancestor: f4857535092ac18eb882bb07324518084f16d123
Author: darkrain42 at pidgin.im
Date: 2009-06-23T02:06:58
Branch: im.pidgin.www
URL: http://d.pidgin.im/viewmtn/revision/info/bc8da65317cc0561cbcb5e1cc24477209d99e8c8

Modified files:
        htdocs/download/ubuntu/index.php

ChangeLog: 

Sourcing /etc/lsb-release doesn't actually work, apparently.

lsb_release should be on basically all Ubuntu systems, so this should be okay.

-------------- next part --------------
============================================================
--- htdocs/download/ubuntu/index.php	30b6a54b14f379d20622c3985ca7647c5c6092bb
+++ htdocs/download/ubuntu/index.php	419b504c7eafe569e9c00cab16807960d1317c41
@@ -25,9 +25,8 @@
 
 <p class='code'>sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com \
 &nbsp;&nbsp;&nbsp;&nbsp;67265eb522bdd6b1c69e66ed7fb8bee0a1f196a8</p>
-<p class='code'>. /etc/lsb-release</p>
 <p class='code'>echo deb http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu \
-&nbsp;&nbsp;&nbsp;&nbsp;$DISTRIB_CODENAME main | \<br />
+&nbsp;&nbsp;&nbsp;&nbsp;`lsb_release --short --codename` main | \<br />
 &nbsp;&nbsp;&nbsp;&nbsp;sudo tee /etc/apt/sources.list.d/pidgin-ppa.list</p>
 
 <p>Once this PPA is setup, Pidgin updates will show up in Update Manager along with the usual Ubuntu updates. The PPA will need to be re-setup only after upgrading Ubuntu.</p>


More information about the Commits mailing list