Add sirula

This commit is contained in:
2021-05-01 16:26:24 +01:00
parent a17566ac4b
commit 52ed1492f9
4 changed files with 63 additions and 1 deletions

11
install
View File

@ -22,6 +22,7 @@ install() {
fzf \
git \
grim \
gtk-layer-shell \
isync \
lynx \
mpd \
@ -42,6 +43,7 @@ install() {
python-pip \
rsync \
slurp \
sway \
transmission-cli \
ttf-ubuntu-font-family \
youtube-dl \
@ -73,6 +75,15 @@ install() {
sudo sed -i '$a auth optional pam_exec.so expose_authtok /usr/bin/pam_exec-ssh' \
/etc/pam.d/system-local-login
}
[ -x "/usr/bin/sirula" ] || {
tmp_dir="$(mktemp -d)" && pushd "$tmp_dir" && {
curl -sSfO "https://jordanholt.xyz/sirula"
sudo install -m755 sirula /usr/bin/
popd
rm -rf $tmp_dir
}
}
}
configure() {