[Blends-commit] [SCM] blends-dev branch, master, updated. 6311eeb1648c0df641343144669b15587abb3787

Andreas Tille tille at debian.org
Thu Jul 2 15:07:20 UTC 2015


The following commit has been merged in the master branch:
commit 3b26a40760bd7e238c1bfe636713fd299843499e
Author: Andreas Tille <tille at debian.org>
Date:   Thu Jul 2 16:47:53 2015 +0200

    Fix bashism

diff --git a/debian/changelog b/debian/changelog
index dbc36b6..73800b8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ blends (0.6.92.3) UNRELEASED; urgency=medium
 
   * document that the task files follow RFC 822 format
     Closes: #764591
+  * Fix bashism
+    Closes: #772186
 
  -- Andreas Tille <tille at debian.org>  Thu, 02 Jul 2015 16:21:52 +0200
 
diff --git a/templates/config.postinst b/templates/config.postinst
index 1a8997e..e09402b 100755
--- a/templates/config.postinst
+++ b/templates/config.postinst
@@ -3,13 +3,13 @@
 # if blends-common package is not yet installed we have to stop here
 if [ ! -f /etc/blends/blends.conf ] ; then
    echo "Debian Pure Blends configuration file /etc/blends/blends.conf is missing."
-   exit -1
+   exit 1
 fi
 . /etc/blends/blends.conf
 
 if [ ! -f /etc/blends/#BLEND#/#BLEND#.conf ] ; then
    echo "#BLENDNAME# configuration file /etc/blends/#BLEND#/#BLEND#.conf is missing."
-   exit -1
+   exit 1
 fi
 . /etc/blends/#BLEND#/#BLEND#.conf
 

-- 
Git repository for blends code



More information about the Blends-commit mailing list