This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
#AUTHOR: harry (aHNs) <[email protected]> FC5A 6DAE AD7C F721 561A C059 D376 6497 DD9F F961 | |
#DESCRIPTION: Self deleting install script for V by DJMcMayhem https://github.com/DJMcMayhem/V | |
#checks user is root, exits if not | |
if [[ $(id -u) != "0" ]]; then | |
echo "This script must be run as root" 1>&2 | |
exit 1 | |
fi | |
function v_installer { | |
if [[ ! $(grep "neovim-ppa/unstable" /etc/apt/sources.list /etc/apt/sources.list.d/*) ]]; then |