Skip to content

Instantly share code, notes, and snippets.

@sramam
sramam / install-pt
Last active September 17, 2020 21:20 — forked from brandondrew/install-pt
Easily install the Platinum Searcher (on Linux) (to your personal bin directory)
#!/usr/bin/env bash
# curl https://gist.githubusercontent.com/sramam/5e2a2dfd7261b222cb8af6b58ca1dda9/raw/025e4a1cda4608a83d984c7dc7e7796d5d17413e/install-pt | bash
OS_CODE="linux_amd64"
# TODO: check the OS and architecture and make this work across platforms
VERSION="v2.2.0"
# TODO: scrape the GitHub README for the latest version
TARGET=/usr/bin/pt
@sramam
sramam / install-pt
Created September 17, 2020 21:15 — forked from brandondrew/install-pt
Easily install the Platinum Searcher (on Linux) (to your personal bin directory)
#!/usr/bin/env bash
OS_CODE="linux_amd64"
# TODO: check the OS and architecture and make this work across platforms
VERSION="v2.1.5"
# TODO: scrape the GitHub README for the latest version
TARGET=~/bin
# TODO: accept command line options, and prompt if nothing is specified