10 lines
155 B
Bash
Executable File
10 lines
155 B
Bash
Executable File
#!/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 |