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