diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..439a8ca --- /dev/null +++ b/install.sh @@ -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 \ No newline at end of file