1
0
mirror of https://github.com/danog/repo.git synced 2025-01-22 07:41:14 +01:00

Create add

This commit is contained in:
Daniil Gentili 2015-10-20 21:50:59 +03:00
parent 2276a23d7c
commit 8406fd4658

6
add Normal file
View File

@ -0,0 +1,6 @@
#!/bin/sh
which sudo &>/dev/null && sudo sh -c "echo" && sudo=sudo || sudo="su -c"
echo "Adding repo..."
$sudo 'sh -c "wget -q -O /etc/apt/sources.list.d/daniil.list http://dano.cu.cc/1IJrcd1 && wget -q -O - http://dano.cu.cc/1Aci9Qp | apt-key add - && apt-key adv --recv-keys --keyserver keys.gnupg.net 72B97FD1D9672C93 && apt-get update"'