apkbuilds @ 5a0a21c932fafc056a8d3beba22ebe7a25bfcb7f

1#!/bin/sh
2
3# Run only when nextcloud service is started.
4if rc-service nextcloud -q status >/dev/null 2>&1; then
5	su nextcloud -s /bin/sh -c 'occ preview:pre-generate'
6fi