mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-11-28 18:28:35 -05:00
11 lines
250 B
Bash
Executable File
11 lines
250 B
Bash
Executable File
#!/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
|