Add an installation script

This commit is contained in:
mattia committed 2021-04-30 15:45:54 +02:00
1 parent 803698b889
commit d99442983f
1 file changed
+10
Executable
+10
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