bin/cpm

Fri, 09 Sep 2022 12:30:42 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 09 Sep 2022 12:30:42 -0400
changeset 1002
8284b9cac608
parent 992
4e3e37ce84bc
permissions
-rwxr-xr-x

Add age limit reinstall check

915
55a1c83b3417 spin out stubexec
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 #!/bin/sh
55a1c83b3417 spin out stubexec
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 set -eu
55a1c83b3417 spin out stubexec
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3
957
ea852d545173 improve stubexec
Meredith Howard <mhoward@roomag.org>
parents: 932
diff changeset
4 install_it() {
ea852d545173 improve stubexec
Meredith Howard <mhoward@roomag.org>
parents: 932
diff changeset
5 curl -fsSL --compressed https://git.io/cpm |
ea852d545173 improve stubexec
Meredith Howard <mhoward@roomag.org>
parents: 932
diff changeset
6 perl - install -g App::cpm
915
55a1c83b3417 spin out stubexec
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7
970
498189926551 remove plenv references
Meredith Howard <mhoward@roomag.org>
parents: 957
diff changeset
8 asdf reshim perl || :
957
ea852d545173 improve stubexec
Meredith Howard <mhoward@roomag.org>
parents: 932
diff changeset
9 }
915
55a1c83b3417 spin out stubexec
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10
992
4e3e37ce84bc Switch stubexec to self-invoke
Meredith Howard <mhoward@roomag.org>
parents: 970
diff changeset
11 . ~/.lib/sh/stubexec.sh

mercurial