[debian-edu-commits] debian-edu/ 01/01: Add check if binary exists.

Wolfgang Schweer schweer-guest at moszumanska.debian.org
Thu Jan 8 16:27:00 UTC 2015


This is an automated email from the git hooks/post-receive script.

schweer-guest pushed a commit to branch master
in repository debian-edu-artwork.

commit 343a78db66a7a7ab38543c6c19d5967307527c58
Author: Wolfgang Schweer <wschweer at arcor.de>
Date:   Thu Jan 8 17:26:21 2015 +0100

    Add check if binary exists.
---
 debian/changelog                          | 4 ++--
 debian/update-debian-edu-artwork-joy      | 2 +-
 debian/update-debian-edu-artwork-lines    | 2 +-
 debian/update-debian-edu-artwork-spacefun | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9776b88..4b378da 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,8 @@
 debian-edu-artwork (0.52-2) UNRELEASED; urgency=medium
 
   * debian/update-debian-edu-artwork-(joy|lines|spacefun):
-    Only execute 'glib-compile-schemas' if related directory exists
-    (Closes: #774864).
+    Only execute 'glib-compile-schemas' if binary and related directory
+    are existent (Closes: #774864).
 
  -- Wolfgang Schweer <wschweer at arcor.de>  Thu, 08 Jan 2015 16:55:36 +0100
 
diff --git a/debian/update-debian-edu-artwork-joy b/debian/update-debian-edu-artwork-joy
index deba256..a7a1383 100755
--- a/debian/update-debian-edu-artwork-joy
+++ b/debian/update-debian-edu-artwork-joy
@@ -102,7 +102,7 @@ restore_ksplash() {
 
 compile_gschemas() {
 	if [ -d /usr/share/glib-2.0/schemas/ ]; then
-	glib-compile-schemas /usr/share/glib-2.0/schemas/
+	[ ! -x $path/glib-compile-schemas ] || glib-compile-schemas /usr/share/glib-2.0/schemas/
 	fi
 }
 
diff --git a/debian/update-debian-edu-artwork-lines b/debian/update-debian-edu-artwork-lines
index 97af98e..afbb62f 100755
--- a/debian/update-debian-edu-artwork-lines
+++ b/debian/update-debian-edu-artwork-lines
@@ -102,7 +102,7 @@ restore_ksplash() {
 
 compile_gschemas() {
 	if [ -d /usr/share/glib-2.0/schemas/ ]; then
-	glib-compile-schemas /usr/share/glib-2.0/schemas/
+	[ ! -x $path/glib-compile-schemas ] || glib-compile-schemas /usr/share/glib-2.0/schemas/
 	fi
 }
 
diff --git a/debian/update-debian-edu-artwork-spacefun b/debian/update-debian-edu-artwork-spacefun
index 01e5e1f..145c6a1 100755
--- a/debian/update-debian-edu-artwork-spacefun
+++ b/debian/update-debian-edu-artwork-spacefun
@@ -102,7 +102,7 @@ restore_ksplash() {
 
 compile_gschemas() {
 	if [ -d /usr/share/glib-2.0/schemas/ ]; then
-	glib-compile-schemas /usr/share/glib-2.0/schemas/
+	[ ! -x $path/glib-compile-schemas ] || glib-compile-schemas /usr/share/glib-2.0/schemas/
 	fi
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-artwork.git



More information about the debian-edu-commits mailing list