Skip to content

Instantly share code, notes, and snippets.

View josh-hemphill's full-sized avatar

Josh josh-hemphill

View GitHub Profile
#!/bin/bash
read -p "Install LF for Ubuntu20.04? [Y/n]" -n 1 -r
echo # (optional) move to a new line
if [[ ! $REPLY =~ ^[Nn]$ ]]
then
echo 'deb http://download.opensuse.org/repositories/home:/Provessor/xUbuntu_20.04/' | sudo tee /etc/apt/sources.list.d/home:Provessor.list
wget -q -nv -O - https://download.opensuse.org/repositories/home:Provessor/xUbuntu_20.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_Provessor.gpg > /dev/null
sudo apt update
sudo apt install lf
fi