FollieHiyuki-dotfiles/setup/greenclip.sh

11 lines
250 B
Bash
Raw Normal View History

2021-02-13 11:28:59 -05:00
#!/bin/sh
curl -fLo greenclip https://github.com/erebe/greenclip/releases/download/3.4/greenclip
chmod 755 greenclip
if command -v doas >/dev/null
then
doas -- mv -fv greenclip /usr/bin/greenclip
else
sudo mv -fv greenclip /usr/bin/greenclip
fi