1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-13 21:05:09 -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 $xeppath/attic/xep-$1-$2.html
# end