Lutris: Pre-launch / Post-exit scripts not being executed
ferric_carcinization @ ferric_carcinization @lemmy.ml Posts 0Comments 128Joined 4 mo. ago
ferric_carcinization @ ferric_carcinization @lemmy.ml
Posts
0
Comments
128
Joined
4 mo. ago
So it works now? If so, then glad to be of help.
Just remember that if your shebang points to sh, you can't rely on bash-specific features. The shebang line basically tells the kernel to run your file with the specified program. So, for example, a file with
#!/bin/cat
will print the full contents of the file (including the shebang) and#!/bin/echo
will print the command line. (something like ./script arg1 arg2) As the echo command does not try to interpret arguments as paths, the content of the script would be ignored in that case.