[Pkg-cli-apps-commits] [SCM] openbve branch, master, updated. debian/1.4.0.0-1-29-gdec261f

Paul Sladen debian at paul.sladen.org
Wed Jan 18 12:14:21 UTC 2012


The following commit has been merged in the master branch:
commit 6fb1e56f8f71530996da3849031f276ef1829e1d
Author: Paul Sladen <debian at paul.sladen.org>
Date:   Wed Jan 18 12:24:21 2012 +0100

    Document wget non-use of -O methodology:
      # The wget is two-step; the mv will only occur if wget succeeded and exited cleanly
      # One could use 'wget -O' but if the website is down or the transfer interrupted then
      # the existing copy is corrupted.  This happened and lead to the current method

diff --git a/debian/rules b/debian/rules
index b630655..35ef168 100755
--- a/debian/rules
+++ b/debian/rules
@@ -48,6 +48,9 @@ override_dh_install:
 
 # For running manually
 fetch-html:
+	# The wget is two-step; the mv will only occur if wget succeeded and exited cleanly
+	# One could use 'wget -O' but if the website is down or the transfer interrupted then
+	# the existing copy is corrupted.  This happened and lead to the current method
 	wget http://trainsimframework.org/changelog.html && mv changelog.html.1 changelog.html
 	#wget http://trainsimframework.org/releasenotes.html && mv releasenotes.html.1 releasenotes.html
 	wget http://trainsimframework.org/credits.html && mv credits.html.1 credits.html

-- 
openbve



More information about the Pkg-cli-apps-commits mailing list