[Blink] Ubuntu install script
José Pablo Méndez Soto
auxcri at gmail.com
Tue Jan 7 03:55:42 CET 2014
Sorry for the spam, I think version 0.2 is a bit better:
#!/bin/bash
#if you do not pass the release parameter, get a reminder
if [[ -z "$1" ]]
then
echo "Please input your Ubuntu release when executing this script (for
example, 'trusty' as in 'Trusty Tahr'). lsb files return:"
cat /etc/*release | grep VERSION= | tr '[:upper:]' '[:lower:]'
else
wget http://download.ag-projects.com/agp-debian-gpg.key
apt-key add agp-debian-gpg.key
echo "deb http://ag-projects.com/ubuntu $1 main
deb-src http://ag-projects.com/ubuntu $1 main" >
/etc/apt/sources.list.d/blink.list
apt-get update
apt-get install blink
fi
*José Pablo Méndez *
On Mon, Jan 6, 2014 at 8:39 PM, José Pablo Méndez Soto <auxcri at gmail.com>wrote:
> Hey all, I though you could make use of this simple script to install
> Blink on Ubuntu distros. Just make it an executable and run it passing
> along your Ubuntu's release, such as saucy or so:
>
> #!/bin/bash
>
> #if you do not pass the release parameter, get a reminder
> if [[ -z "$1" ]]
> then
>
> echo "Please input your Ubuntu release. lsb files return:"
> cat /etc/*release
>
> else
>
> wget http://download.ag-projects.com/agp-debian-gpg.key
>
> apt-key add agp-debian-gpg.key
>
> echo "deb http://ag-projects.com/ubuntu $1 main
> deb-src http://ag-projects.com/ubuntu $1 main" >
> /etc/apt/sources.list.d/blink.list
>
> apt-get update
>
> apt-get install blink
>
> fi
>
>
> Cheers.
>
>
> *José Pablo Méndez *
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/blink/attachments/20140106/089c013f/attachment.html>
More information about the Blink
mailing list