summaryrefslogtreecommitdiffstats
path: root/retiolum
diff options
context:
space:
mode:
authormakefu <makefu@syntax-fehler.de>2011-06-23 01:11:50 +0200
committermakefu <makefu@syntax-fehler.de>2011-06-23 01:11:50 +0200
commit312a8cba493d25beab6ff6210ca29a9f2b1bbc04 (patch)
tree9b2269dde9678e29a8dd26c84b2573e781eb2de9 /retiolum
parent54c2113d4082b9a28e6f317e3409db4821e10bb1 (diff)
parent3cf2e3aeef1f62429281399b2e7e3ae98408260d (diff)
merged Makefile, install lmsensors AND tmux
Diffstat (limited to 'retiolum')
-rwxr-xr-xretiolum/bin/install18
1 files changed, 18 insertions, 0 deletions
diff --git a/retiolum/bin/install b/retiolum/bin/install
new file mode 100755
index 00000000..9e4459fb
--- /dev/null
+++ b/retiolum/bin/install
@@ -0,0 +1,18 @@
+#! /bin/sh
+#
+#
+#
+set -euf
+
+trap 'echo "${comment+$comment
+}You are made of stupid!">&2; exit 23' EXIT
+
+if ! test -e /usr/sbin/tincd; then
+ if grep -iq ubuntu /etc/issue; then
+ sudo apt-get install --yes tinc
+ else
+ comment='Install tinc to continue.' exit
+ fi
+fi
+
+trap - EXIT