Run setup script in init hook? #1250
Unanswered
alexispurslane
asked this question in
Q&A
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a setup script that compiles a couple packages I need from source and installs them, clones my dotfiles and unstow's them, builds doom emacs, etc, and I'd like to make that script an init hook in my
distrobox.ini
so that when I rundistrobox assemble create
it runs those steps as part of the process of creating my development environment container, after all the packages have installed.I've tried putting each of the commands in the set up script individually in init_hooks, but for some reason it kept failing (something to do with the way init_hooks are parsed and combined), so I'd really like to have them bundled up in a discrete script instead, so that they're executed correctly. Is there any way to make that script accessible to a distrobox's init hooks?
Beta Was this translation helpful? Give feedback.
All reactions