.lib/stubs/tectonic

Thu, 01 Jun 2023 13:25:14 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 01 Jun 2023 13:25:14 -0400
changeset 1117
3689f5ec5f37
parent 1112
0ae7864c4ad8
child 1119
84cd2286f0bf
permissions
-rwxr-xr-x

add task stub

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
1112
0ae7864c4ad8 add basic nix alternative for stubs
Meredith Howard <mhoward@roomag.org>
parents: 1107
diff changeset
5 nix_ref='nixpkgs#tectonic'
1005
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 install_it() {
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 mkdir -p ~/.local/bin
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9 cd ~/.local/bin
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10 curl --proto '=https' --tlsv1.2 -fsSL https://drop-sh.fullyjustified.net |
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
11 sh
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
12 cd -
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
13 asdf reshim || :
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
42fb34b64292 add tectonic stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
16 . ~/.lib/sh/stubexec.sh

mercurial