New backup 2024-04-09 15:30:04

This commit is contained in:
Penelope Gwen 2024-04-09 15:30:04 -06:00
parent cc4cf214b6
commit d5f0f14458
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,6 @@
#!/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/ -