mirror of
https://codeberg.org/hyperreal/admin-scripts
synced 2024-11-25 17:13:41 +01:00
Compare commits
No commits in common. "018945d4a7f4e7628bf0308673aead9447333b2a" and "4d8e12b52955e03636e58f8fed665e270537bf62" have entirely different histories.
018945d4a7
...
4d8e12b529
11
justfile
11
justfile
@ -89,14 +89,3 @@ install-dust:
|
|||||||
sudo cp -v "${filename}/dust" /usr/local/bin/
|
sudo cp -v "${filename}/dust" /usr/local/bin/
|
||||||
sudo chown root:root /usr/local/bin/dust
|
sudo chown root:root /usr/local/bin/dust
|
||||||
rm -rf "$filename" "${filename}.tar.gz"
|
rm -rf "$filename" "${filename}.tar.gz"
|
||||||
|
|
||||||
install-fzf:
|
|
||||||
#!/usr/bin/env bash
|
|
||||||
set -euo pipefail
|
|
||||||
curl -s https://api.github.com/repos/junegunn/fzf/releases/latest | grep "browser_download_url" | grep "linux_$(dpkg --print-architecture)" | cut -d : -f 2,3 | tr -d '"' | wget -qi -
|
|
||||||
curl -s https://api.github.com/repos/junegunn/fzf/releases/latest | grep "browser_download_url" | grep "checksums.txt" | cut -d : -f 2,3 | tr -d '"' | wget -qi -
|
|
||||||
if [ $(grep "linux_$(dpkg --print-architecture)" *checksums.txt | sha256sum -c | awk '{print $2}') = "OK" ]; then
|
|
||||||
tar xvf fzf*.tar.gz
|
|
||||||
sudo mv fzf /usr/bin/fzf
|
|
||||||
fi
|
|
||||||
rm -v fzf*.txt fzf*.tar.gz
|
|
||||||
|
0
shell/quick-backup
Executable file → Normal file
0
shell/quick-backup
Executable file → Normal file
Loading…
Reference in New Issue
Block a user