#!/bin/sh # Betterbird's start, written by the mesh (module betterbird, novox/hq ADR 0316). Replaced at every push. # # Before Betterbird starts, the module's tools place its user.js in the profile (the settings prefs, accounts, identities, calendars, # address-books and tags) and write what Betterbird rewrites itself: the account lists and each declared account's filters. They do # it only while no Betterbird of this account runs, because Betterbird rewrites its saved preferences when it quits; a # second start while one runs only hands over to it. What the preparation could not do it says here, and # betterbird_check says it too. Betterbird starts either way: its configuration never holds the mail back. /usr/local/lib/mesh-betterbird/betterbird-tools prepare || echo "betterbird: the mesh's preparation did not complete; betterbird_check says why" >&2 exec /opt/betterbird/betterbird "$@"