Andrey G.
528658ba4d
Merge fdbb9cfe26
into 7eabaee84c
2025-03-08 15:42:47 -05:00
Erik Flodin
ec10041024
Call bootstrap scripts with a tty
...
Inspired by #449 but using read instead of mapfile to make it work with bash
3. Fixes #344 .
2024-11-24 20:18:22 +01:00
Andrey G
fdbb9cfe26
added verbose mode for source_if_exists
...
and also expecting `file` instead of `source` as env. variable to make that possible without dancing around:
```
#!/bin/bash
file=backup && yadm bootstrap;
file=install && yadm bootstrap;
file=configure &&yadm bootstrap;
```
2023-12-21 21:05:50 -05:00
Andrey G
5a2ed6c68d
linting
2023-12-21 12:40:46 -05:00
Andrey G
f76eecc321
Create bootstrap-source
...
Add example of bootstrap that can be used to run interactive shell scripts
2023-12-21 12:28:13 -05:00
Ross Smith II
c144d9f3bb
fix: Find symlinks in bootstrap-in-dir
...
Fixes #339
2021-05-06 20:11:36 -07:00
Erik Flodin
7d216d47e0
Add example bootstrap script to run files in bootstrap.d
...
This script will, when installed as yadm's bootstrap script, run all
executables in $YADM_DIR/bootstrap.d.
2021-01-01 22:23:53 +01:00