From 6407c3d0f7b606de9de3b4fe878016d8d52b2cf8 Mon Sep 17 00:00:00 2001 From: mattiaborsarini Date: Wed, 11 Aug 2021 13:51:18 +0200 Subject: [PATCH] Add an installation script --- install.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 install.sh diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..3273849 --- /dev/null +++ b/install.sh @@ -0,0 +1,11 @@ +#!/bin/bash +set -e + + +if [[ $UID != "0" ]]; then + echo "ERROR: You must run this script as root!" + exit 1 +fi + +cp bashrc /etc/bashrc && chmod 644 /etc/bashrc +cp bashrc.cust /etc/bashrc.cust && chmod 644 /etc/bashrc.cust \ No newline at end of file