summaryrefslogtreecommitdiff
path: root/usr/local/sbin/maj_prosodymods.sh
blob: c7ffaedc6bbcea3e0a300170ae31df80db6d27e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
MODDIR="/usr/lib/prosody/modules/"

if test -d $MODDIR; then
    cd $MODDIR
    hg pull --update
else
    mkdir -p /usr/lib/prosody
    hg clone https://hg.prosody.im/prosody-modules/ $MODDIR
fi