dotfiles/de/home/.config/smm2/blueprints/libpam-usb/install.sh
2024-04-09 15:30:04 -06:00

6 lines
310 B
Bash
Executable file

#!/bin/bash
latest_source_url=$(curl -s https://api.github.com/repos/mcdope/pam_usb/releases/latest | grep tarball_url | head -n 1 | cut -d '"' -f 4)
wget -qO- "${latest_source_url}" | tar --transform 's/^mcdope-pam_usb.*/mcdope-pam_usb/' -xvz -C .
#curl "${latest_source_url}" | tar -czf ./libpam-latest/ -