Currently, everything is put to /opt, however I would do it differently:
- put the script(s) to
/usr/share/timecheck - save the config at
/etc/timecheck - save the status at
/var/lib/timecheck - symlink the config script to
/usr/bin
Then I would make the paths configurable as shell script parameters but with these defaults (and with only these defaults allowed when using the install script)
Negative aspects:
- limited flexibility
Positive aspects:
- easier to make e.g. a systemd service config file
- easier to detect if already installed
- easier to uninstall automatically
Currently, everything is put to /opt, however I would do it differently:
- put the script(s) to ``/usr/share/timecheck``
- save the config at ``/etc/timecheck``
- save the status at ``/var/lib/timecheck``
- symlink the config script to ``/usr/bin``
Then I would make the paths configurable as shell script parameters but with these defaults (and with only these defaults allowed when using the install script)
Negative aspects:
- limited flexibility
Positive aspects:
- easier to make e.g. a systemd service config file
- easier to detect if already installed
- easier to uninstall automatically