#!/bin/sh VERVIS='https://dev.angeley.es/s/fr33domlover/r' DEPS='hit-graph hit-harder hit-network darcs-lights darcs-rev ssh persistent-migration persistent-email-address time-interval-aeson 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