Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (1a564ee5396d07e532594fc0ba01a6013d9a4808)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jaka Kranjc <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (1a564ee5396d07e532594fc0ba01a6013d9a4808)
  • Date: Wed, 21 Nov 2007 13:44:56 -0600

GIT changes to master sorcery by Jaka Kranjc <lynxlynxlynx AT sourcemage.org>:

ChangeLog | 4 ++++
var/lib/sorcery/modules/libsummon | 3 +--
2 files changed, 5 insertions(+), 2 deletions(-)

New commits:
commit 1a564ee5396d07e532594fc0ba01a6013d9a4808
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>

source_sanity: detect xml and others too

diff --git a/ChangeLog b/ChangeLog
index a24ed8b..5e73bc2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-11-21 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * libsummon: fail on any text/ mimetype when checking the tarball
source
+ sanity
+
2007-11-14 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* excluded: removed /var/yp - the one spell that uses it, installs
config
files there #11831
diff --git a/var/lib/sorcery/modules/libsummon
b/var/lib/sorcery/modules/libsummon
index d4d7139..db07204 100755
--- a/var/lib/sorcery/modules/libsummon
+++ b/var/lib/sorcery/modules/libsummon
@@ -446,8 +446,7 @@ function source_sanity() {
[[ "$1" != "${1%.tar.gz}" ]] ||
[[ "$1" != "${1%.tgz}" ]]; then
local _type=$(file -bi "$1")
- if echo $_type | grep -iq text/html ||
- echo $_type | grep -iq text/plain ; then
+ if echo $_type | grep -iq "text/"; then
upvar "$2" "$_type"
return 1
fi



  • [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (1a564ee5396d07e532594fc0ba01a6013d9a4808), Jaka Kranjc, 11/21/2007

Archive powered by MHonArc 2.6.24.

Top of Page