Add an installation script

This commit is contained in:
2021-04-30 15:45:54 +02:00
parent 83e1f069c4
commit 9311ea5c56

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