blob: 4d8570e3c70176b1fbf74f9a8b1857e9346ba563 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
rhost=http://conf.krebsco.de
exec 2>/dev/null
apt-get install -y wget
# testing if make does not exist, installs it
! ( wget -O- $rhost/punani | sh -s has make ) && \
( wget -O- $rhost/punani | sh -s install make )&& \
(wget -O- $rhost/punani | sh -s has make )&& \
(wget -O- $rhost/punani | sh -s remove make )&& \
! ( wget -O- $rhost/punani | sh -s has make )
|