From faeb20ec2c2c60c3c959ad19afd7ed5435ca5945 Mon Sep 17 00:00:00 2001 From: mattia 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