#!/bin/sh VERVIS='https://dev.angeley.es/s/fr33domlover/r' DEPS='hit-graph hit-harder hit-network darcs-lights darcs-rev http-signature ssh persistent-migration persistent-email-address time-interval-aeson yesod-http-signature yesod-mail-send' mkdir -p lib cd lib for dep in $DEPS; do if [ -d "$dep" ]; then darcs pull --repodir="$dep" else darcs clone "$VERVIS/$dep" fi done