bin/pg_format

Fri, 06 May 2022 06:33:41 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 06 May 2022 06:33:41 -0400
changeset 990
a4f19f325dea
parent 970
498189926551
child 992
4e3e37ce84bc
permissions
-rwxr-xr-x

Switch to stubexec, handle user_dir install

912
a409a606c665 add autoinstall pg_format stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 #!/bin/sh
a409a606c665 add autoinstall pg_format stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 set -eu
915
55a1c83b3417 spin out stubexec
Meredith Howard <mhoward@roomag.org>
parents: 912
diff changeset
3 . ~/.lib/sh/stubexec.sh
912
a409a606c665 add autoinstall pg_format stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4
957
ea852d545173 improve stubexec
Meredith Howard <mhoward@roomag.org>
parents: 932
diff changeset
5 install_it() {
ea852d545173 improve stubexec
Meredith Howard <mhoward@roomag.org>
parents: 932
diff changeset
6 cpanm -n 'https://github.com/darold/pgFormatter.git'
970
498189926551 remove plenv references
Meredith Howard <mhoward@roomag.org>
parents: 957
diff changeset
7 asdf reshim perl || :
957
ea852d545173 improve stubexec
Meredith Howard <mhoward@roomag.org>
parents: 932
diff changeset
8 }
912
a409a606c665 add autoinstall pg_format stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9
932
f87943eb16aa stubexec fixes
Meredith Howard <mhoward@roomag.org>
parents: 915
diff changeset
10 stubexec "$@"

mercurial