From d5f0f14458c5764d3b48b829bc857380b4a542d6 Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Tue, 9 Apr 2024 15:30:04 -0600 Subject: [PATCH] New backup 2024-04-09 15:30:04 --- de/home/.config/smm2/blueprints/libpam-usb/deps | 0 de/home/.config/smm2/blueprints/libpam-usb/install.sh | 6 ++++++ 2 files changed, 6 insertions(+) create mode 100644 de/home/.config/smm2/blueprints/libpam-usb/deps create mode 100755 de/home/.config/smm2/blueprints/libpam-usb/install.sh diff --git a/de/home/.config/smm2/blueprints/libpam-usb/deps b/de/home/.config/smm2/blueprints/libpam-usb/deps new file mode 100644 index 0000000..e69de29 diff --git a/de/home/.config/smm2/blueprints/libpam-usb/install.sh b/de/home/.config/smm2/blueprints/libpam-usb/install.sh new file mode 100755 index 0000000..dadbd5a --- /dev/null +++ b/de/home/.config/smm2/blueprints/libpam-usb/install.sh @@ -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/ -