From 14749a5c50c2700c6c0d005fece94f868e11d761 Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 8 Jul 2026 10:12:45 +0200 Subject: [PATCH] add installer --- INSTALL.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/INSTALL.sh b/INSTALL.sh index e69de29..b6fa200 100644 --- a/INSTALL.sh +++ b/INSTALL.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +URL="https://git.de-roo.org/ben/wiki-terminal/raw/branch/main/src/main.sh" +BESTAND="wiki" + +echo "Wiki-terminal downloaden..." + +curl -fsSL "$URL" -o "$BESTAND" || { + echo "Download mislukt." + exit 1 +} + +echo "Installeren naar /bin..." + +sudo mv "$BESTAND" /usr/local/bin/wiki + echo "Installatie mislukt." + exit 1 +} + +sudo chmod +x "/bin/$BESTAND" + +echo "Klaar!" +echo "Start met: wiki"