#!/bin/bash
[ -f "/var/www/html/config/config.php" ] || exit 0
cd /var/www/html
sudo -u www-data php occ maintenance:update:htaccess
exit 0