From 8fc6c73c54c1165119fe678b9f0c8dc03139227f Mon Sep 17 00:00:00 2001 From: Lucie Scarlet Date: Mon, 16 Sep 2024 18:12:06 +0200 Subject: [PATCH] Created install script Easy installation --- install.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 install.sh diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..5b498b8 --- /dev/null +++ b/install.sh @@ -0,0 +1,12 @@ +#!/bin/bash + + +if [[ `id -u` -ne 0 ]] +then + echo "You need to be root to use ./install.sh" + exit 1 +fi + +set -xeuo pipefail + +cp gitignore /usr/local/bin/gitignore -- 2.45.2