[icinga-checkins] icinga.org: icinga-web/jmosshammer/default: * Tarball md5 testing

git at icinga.org git at icinga.org
Tue Nov 9 11:32:25 CET 2010


Module: icinga-web
Branch: jmosshammer/default
Commit: a71eea12f9b8e207a79653118e92cc4a1b336e31
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=a71eea12f9b8e207a79653118e92cc4a1b336e31

Author: Marius Hein <marius.hein at netways.de>
Date:   Mon Oct  4 16:47:53 2010 +0200

* Tarball md5 testing
* Remove db-upgrade target (fixes #845)

---

 Makefile.in      |    4 ----
 bin/make-tarball |    1 +
 2 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 61c0135..678b696 100755
--- a/Makefile.in
+++ b/Makefile.in
@@ -50,7 +50,6 @@ none:
 	@printf "\nDatabase (web) targets:\n"
 	@printf "\t%-22s - %s\n" "db-initialize" "create the db"
 	@printf "\t%-22s - %s\n" "db-deinitialize" "reverse the path (removes all data and drop the relations)"
-	@printf "\t%-22s - %s\n" "db-upgrade" "tries to upgrade from a available db revision"
 	@printf "\t%-22s - %s\n" "db-drop" "drop the entire db"
 	@printf "\t%-22s - %s\n" "db-purge-userprefs" "purge existing user preferences"
 	@printf "\t%-22s - %s\n" "db-doc2sql" "export doctrine db schema"
@@ -179,9 +178,6 @@ db-doc2sql:
 db-drop:
 	$(PHING_CALL) db-drop
 
-db-upgrade:
-	$(PHING_CALL) db-upgrade
-
 db-purge-userprefs:
 	$(PHING_CALL) db-purge-userprefs
 
diff --git a/bin/make-tarball b/bin/make-tarball
index 9775370..0bc8fb0 100755
--- a/bin/make-tarball
+++ b/bin/make-tarball
@@ -189,6 +189,7 @@ mv $OUT_FILE/icinga-web.tar.gz ../$TAR_NAME.tar.gz
 echo "../$TAR_NAME.tar.gz created for uploading..."
 
 cd ..
+test -f $TAR_NAME.tar.gz.md5 && rm $TAR_NAME.tar.gz.md5
 md5sum $TAR_NAME.tar.gz > $TAR_NAME.tar.gz.md5
 
 echo "../$TAR_NAME.tar.gz.md5 created for uploading..."





More information about the icinga-checkins mailing list