Skip to content

Instantly share code, notes, and snippets.

@narolinus
narolinus / fetcher.sh
Created April 16, 2017 17:15
Mailcow: Fetching external resources and convert stylesheets accordingly.
#!/bin/bash
# reuires google-font-download by Clemens Lang
# https://github.com/neverpanic/google-font-download
# 1) Put both scripts in mailcow-dockerized home directory.
# 2) Reset data/web to default (only css, fonts an js).
# rm -rf data/web/{css,fonts,js} && git checkout -- data/web && git status
# 3) Run fetcher.sh