bin/tectonic

Sat, 08 Apr 2023 14:07:39 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 08 Apr 2023 14:07:39 -0500
changeset 1101
40419d8e3cbb
parent 1005
42fb34b64292
permissions
-rwxr-xr-x

cleanup

1005
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 #!/bin/sh
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 set -eu
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4 age_limit=30
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 install_it() {
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 mkdir -p ~/.local/bin
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 cd ~/.local/bin
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9 curl --proto '=https' --tlsv1.2 -fsSL https://drop-sh.fullyjustified.net |
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10 sh
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
11 cd -
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
12 asdf reshim || :
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
13 }
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
14
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
15 . ~/.lib/sh/stubexec.sh

mercurial