From 9311ea5c56db7e137401ce75b93f3c93893c333d Mon Sep 17 00:00:00 2001 From: mattia Date: Fri, 30 Apr 2021 15:45:54 +0200 Subject: [PATCH] Add an installation script --- install.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 install.sh diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..439a8ca --- /dev/null +++ b/install.sh @@ -0,0 +1,10 @@ +#!/bin/bash +set -e + + +if [[ $UID != "0" ]]; then + echo "ERROR: You must run this script as root!" + exit 1 +fi + +cp nanorc /etc/nanorc && chmod 644 /etc/nanorc \ No newline at end of file