From f0ba9e97898a8e415c36d9551dfe93e5bdba9421 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Wed, 12 Mar 2014 11:59:47 +0000 Subject: [PATCH] trivial: New packagekit.org server --- docs/html/upload.sh | 31 ------------------------------- docs/upload.sh | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 31 deletions(-) delete mode 100755 docs/html/upload.sh create mode 100755 docs/upload.sh diff --git a/docs/html/upload.sh b/docs/html/upload.sh deleted file mode 100755 index 7a2d3dc6e..000000000 --- a/docs/html/upload.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -# Copyright (C) 2008 Richard Hughes -# -# Licensed under the GNU General Public License Version 2 -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. - -USER="hughsie" -SERVER="packagekit.org" -LOCATION="/srv/www/html" - -scp *.html $USER@$SERVER:/$LOCATION/ -scp img/*.png $USER@$SERVER:/$LOCATION/img/ -scp img/thumbnails/*.png $USER@$SERVER:/$LOCATION/img/thumbnails/ -scp videos/*.ogv $USER@$SERVER:/$LOCATION/videos/ -scp *.css $USER@$SERVER:/$LOCATION/ -scp ../api/html/*.html $USER@$SERVER:/$LOCATION/gtk-doc/ -scp ../api/html/*.png $USER@$SERVER:/$LOCATION/gtk-doc/ -scp ../api/html/*.css $USER@$SERVER:/$LOCATION/gtk-doc/ -docbook2pdf ../../man/pkcon.xml --output ./files -docbook2pdf ../../man/pkmon.xml --output ./files -scp files/* $USER@$SERVER:/$LOCATION/files/ -scp ../../contrib/PackageKit.catalog $USER@$SERVER:/$LOCATION/files/ -docbook2html ../../../gnome-packagekit/docs/dbus/org.freedesktop.PackageKit.ref.xml -mv r1.html api-reference-session.html -scp api-reference-session.html $USER@$SERVER:/$LOCATION/gtk-doc/ -rm api-reference-session.html -scp ../example.catalog $USER@$SERVER:/$LOCATION/packagekit.catalog - diff --git a/docs/upload.sh b/docs/upload.sh new file mode 100755 index 000000000..606e9bfbf --- /dev/null +++ b/docs/upload.sh @@ -0,0 +1,15 @@ +#!/bin/sh +# Copyright (C) 2008 Richard Hughes +# +# Licensed under the GNU General Public License Version 2 +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + +USER="hughsiec" +SERVER="packagekit.org" +PORT="3784" +LOCATION="~/public_html/packagekit" + +scp -r -P $PORT html/* $USER@$SERVER:$LOCATION/