Tiny shell script that symlinks all custom fortunes to the fortunes directory on the host and automatically runs strfile against those files.
Tested on macOS but I have made all attempts to make the script POSIX-compliant and believe it will be fine elsewhere. I also have a Debian system at home I can test on if you wish.
The easiest path for me to get the script to work was to move all fortunes to a directory within the project called custom_fortunes. If there are other options for this that would ease iteration, please make suggestions.
Awesome. I merged but edited the setup script. On ubuntu, fortune isn't installed under that path. I don't know how POSIX-compliant my change is though... I'll merge, feel free to keep tampering.
Tiny shell script that symlinks all custom fortunes to the fortunes directory on the host and automatically runs
strfile
against those files.Tested on macOS but I have made all attempts to make the script POSIX-compliant and believe it will be fine elsewhere. I also have a Debian system at home I can test on if you wish.
The easiest path for me to get the script to work was to move all fortunes to a directory within the project called
custom_fortunes
. If there are other options for this that would ease iteration, please make suggestions.