Suggested richdocumentscode install command doesn't work in all situations
#1.179 geöffnet am 07.10.2020
Repository-Metriken
- Stars
- (452 Sterne)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
Describe the bug
richdocumentscode can in many cases not be installed via the web interface due to timeouts. As a result, richdocuments (rightly) suggests installing using occ if it doesn't work. See here:
However, that command assumes that one has installed Nextcloud manually instead of using e.g. the snap, where the comand doesn't work. It should be trivial to check the $SNAP and $SNAP_NAME environment variables and print the proper command in that situation (sudo nextcloud.occ app:install richdocumentscode specifically), but I'm afraid I don't quite have the vue chops to pull it off.