You are not logged in.
I've been planning on bringing a small utility i made onto AUR, but there's a small issue that i'm not sure how to solve in a best way.
The software itself comes with a couple shell scripts, some of them are autocompletion for bash, and two of them are for simple utility purposes.
I want the utility scripts to be customizable by the user, as currently they're tied to VLC specifically. So if i want the user to be able to easily change them, where should i put them?
After searching this forum and the arch wiki i couldn't really find information on how to handle shell scripts with the package.
I thought about putting them in `~/bin/' or `/usr/local/bin/', but i'm not entirely sure if that's the most conventional solution.
I suppose i could just not ship them altogether. I'm not really sure what the best solution here is, honestly.
I would greatly appreciate any advice
Offline
You can't, that's not something doable with packages. You could make them read a config file, but no customization of the script itself.
Last edited by Scimmia (2026-01-31 11:49:36)
Offline
You can't, that's not something doable with packages. You could make them read a config file, but no customization of the script itself.
I see! I suppose sourcing a config.sh with a defined function in it would also work and be much simpler overall.
Thank you ![]()
Offline