1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-24 10:12:19 -05:00
xeps/archive.sh

10 lines
214 B
Bash
Raw Normal View History

#!/bin/sh
# archive an old version of a XEP (before publishing new version)
# usage: ./archive.sh xepnum version
xeppath=/var/www/xmpp.org/extensions
cp $xeppath/xep-$1.html $jeppath/attic/xep-$1-$2.html
# end