.lib/stubs/stow

Mon, 08 May 2023 02:36:32 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 08 May 2023 02:36:32 -0500
changeset 1112
0ae7864c4ad8
parent 1107
c6d7ac40bd3c
child 1119
84cd2286f0bf
permissions
-rwxr-xr-x

add basic nix alternative for stubs

989
b5df8971e99b add stow stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 #!/bin/sh
b5df8971e99b add stow stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 set -eu
b5df8971e99b add stow stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3
1112
0ae7864c4ad8 add basic nix alternative for stubs
Meredith Howard <mhoward@roomag.org>
parents: 1107
diff changeset
4 nix_ref='nixpkgs#stow'
0ae7864c4ad8 add basic nix alternative for stubs
Meredith Howard <mhoward@roomag.org>
parents: 1107
diff changeset
5
989
b5df8971e99b add stow stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 install_it() {
b5df8971e99b add stow stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 cpanm -n Stow
b5df8971e99b add stow stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 asdf reshim perl || :
b5df8971e99b add stow stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9 }
b5df8971e99b add stow stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10
992
4e3e37ce84bc Switch stubexec to self-invoke
Meredith Howard <mhoward@roomag.org>
parents: 989
diff changeset
11 . ~/.lib/sh/stubexec.sh

mercurial