1
0
Fork 0
mirror of https://code.sup39.dev/repos/Wqawg synced 2024-12-28 07:44:50 +09:00
vervis/update-deps.sh
fr33domlover 499e26db48 Periodically rotated AP actor key for signing ActivityPub requests
The actor key will be used for all actors on the server. It's held in a `TVar`
so that it can always be safely updated and safely retrieved (technically there
is a single writer so IORef and MVar could work, but they require extra care
while TVar is by design suited for this sort of thing).
2019-01-14 22:08:44 +00:00

26 lines
473 B
Bash

#!/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