Add an installation script

This commit is contained in:
2021-08-11 13:51:18 +02:00
parent 74548a1234
commit faeb20ec2c

11
install.sh Executable file
View File

@@ -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