Add an installation script
This commit is contained in:
11
install.sh
Executable file
11
install.sh
Executable 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
|
||||||
Reference in New Issue
Block a user