From: Lucie Scarlet Date: Mon, 16 Sep 2024 16:12:06 +0000 (+0200) Subject: Created install script X-Git-Url: https://git.chaotic.ninja/gitweb/lucie/?a=commitdiff_plain;h=8fc6c73c54c1165119fe678b9f0c8dc03139227f;p=gitignore.git Created install script Easy installation --- 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