Add an installation script

This commit is contained in:
2021-04-30 15:45:54 +02:00
parent 803698b889
commit d99442983f

10
install.sh Executable file
View 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