8 lines
122 B
Bash
Executable file
8 lines
122 B
Bash
Executable file
#!/bin/bash
|
|
if [ ! "$UID" -eq 0 ]
|
|
then
|
|
sudo bash "$BASH_SOURCE";
|
|
else
|
|
npm install -g n;
|
|
n install latest;
|
|
fi;
|