mirror of https://github.com/archzfs/archzfs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
618 B
23 lines
618 B
#!/bin/bash
|
|
|
|
SOURCE_PATH="/mnt/data/pacman/repo/sources"
|
|
|
|
set -e
|
|
|
|
rsync -avhP --delete-before \
|
|
--exclude=sources/ \
|
|
/mnt/data/pacman/repo/demz* \
|
|
jalvarez@jalvarez.webfactional.com:webapps/default/ $1
|
|
|
|
|
|
[ -n $1 ] && exit
|
|
|
|
rst2html2 $SOURCE_PATH/archzfs/web_archzfs.rst > /tmp/archzfs_index.html
|
|
|
|
rst2html2 $SOURCE_PATH/archnetflix/web_archnetflix.rst > /tmp/archnetflix_index.html
|
|
|
|
scp /tmp/archzfs_index.html \
|
|
jalvarez@jalvarez.webfactional.com:webapps/default/archzfs/index.html
|
|
|
|
scp /tmp/archnetflix_index.html \
|
|
jalvarez@jalvarez.webfactional.com:webapps/default/archnetflix/index.html
|
|
|