From 49f8b4c8689af96949228d16f9147218449632ca Mon Sep 17 00:00:00 2001 From: Felix Richter Date: Thu, 26 May 2011 13:12:14 +0200 Subject: replaced install script with Makefile makefile contains 2 targets, install: curls the bootstrap script from github and executes it update: tries to git pull the hosts folder created by install, will obviously not work if the folder does not exist --- modules/retiolum/Makefile | 8 ++++++++ modules/retiolum/install.sh | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 modules/retiolum/Makefile delete mode 100644 modules/retiolum/install.sh diff --git a/modules/retiolum/Makefile b/modules/retiolum/Makefile new file mode 100644 index 00000000..150255ae --- /dev/null +++ b/modules/retiolum/Makefile @@ -0,0 +1,8 @@ +.phony: update install all + +all: select-target + +update: + git pull /etc/tinc/retiolum/hosts +install: + curl -k https://github.com/miefda/retiolum/raw/master/.scripts/tinc_setup/bootstrap.sh | sh diff --git a/modules/retiolum/install.sh b/modules/retiolum/install.sh deleted file mode 100644 index d30857ce..00000000 --- a/modules/retiolum/install.sh +++ /dev/null @@ -1 +0,0 @@ -curl -k https://github.com/miefda/retiolum/raw/master/.scripts/tinc_setup/bootstrap.sh | sh -- cgit v1.2.3