Don't write the config file when --skip-config flag is given to the installer.
- scripts/installer_cli.php: Read the arguments list before checking if the config file is writeable.
Hello, I'm trying to package gnu social as a Service for GNU GuixSD: https://lists.gnu.org/archive/html/guix-devel/2017-09/msg00328.html
Here is a patch to make the cli installer not write a config file or anything else when --skip-config is given.
In GuixSD I plan to install gnu-social as a read-only package and read a config generated by Guix from /etc/. I might send some more patches in the future as there needs to be a setting to hide the Admin panel when the configuration is done via Guix, and one of the plugins (I forgot the name I think it was something with Html Sanitize) tries to create a cache directory in the INSTALLPATH.