Koha/debian
Tomas Cohen Arazi 2a7e71554b Bug 10942: (QA followup) make warnings to to STDERR
As noted by Robin, STDOUT is used by the script to communicate with
debconf and, hence, the warning messages should be directed to STDERR.

This patch does that. To test:

- Set AUTOMATIC_TRANSLATIONS_UPDATE="no" so the warning normally shows
- Redirect STDOUT to /dev/null:
  dpkg -i koha-common...deb > /dev/null
=> Warning message doesn't show (i.e. it is sent to STDOUT)
- Apply the patch, rebuild package
- Redirect STDOUT to /dev/null:
  dpkg -i koha-common...deb > /dev/null
=> Warning message shows (i.e. is correctly sent to STDERR)
- Redirect STDERR to /dev/null:
  dpkg -i koha-common...deb 2> /dev/null
=> Warning message doesn't show
- Verify that previous tests pass

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-04-24 12:50:54 +00:00
..
docs Bug 10782 - Add a koha-mysqlcheck script 2014-04-23 12:30:06 +00:00
scripts Bug 10782 - Add a koha-mysqlcheck script 2014-04-23 12:30:06 +00:00
source
templates Bug 10942: (follow-up) debconfing the update option 2014-04-24 12:49:32 +00:00
bd-to-depends
build-git-snapshot Bug 11705 - change versioning of build-git-snapshot 2014-03-12 01:49:56 +00:00
changelog Bug 11284: Packaging updates for master branch 2013-11-27 15:37:45 +00:00
compat
control Bug 9032: (follow-up) add libemail-valid-perl as a Debian dependency 2014-04-20 22:02:21 +00:00
control.in Bug 8921: make koha-common*.deb depend on cron-daemon 2013-12-30 15:03:42 +00:00
copyright
koha-common.config Bug 10942: (follow-up) debconfing the update option 2014-04-24 12:49:32 +00:00
koha-common.cron.d Bug 10379: silence zebra rebuild cron when no instances are enabled 2013-06-26 08:55:23 -07:00
koha-common.cron.daily Bug 9032: (follow-up) restore documented intepretation of virtualshelfshares.sharedate 2014-04-20 22:52:21 +00:00
koha-common.cron.hourly
koha-common.default Bug 10942: (follow-up) create a /etc/koha/koha-common.conf 2014-04-24 12:48:36 +00:00
koha-common.dirs
koha-common.docs Bug 10802: make Debian package install history.txt 2013-09-16 15:27:16 +00:00
koha-common.init Bug 10624: add 'status' option switch for the packages init script 2013-10-09 04:53:42 +00:00
koha-common.install Bug 10802: make Debian package install history.txt 2013-09-16 15:27:16 +00:00
koha-common.logrotate
koha-common.postinst Bug 10942: (QA followup) make warnings to to STDERR 2014-04-24 12:50:54 +00:00
koha-common.README.Debian
koha-common.templates Bug 10942: (follow-up) debconfing the update option 2014-04-24 12:49:32 +00:00
koha-post-install-setup
koha.apache-ports
koha.config
koha.dirs
koha.install Bug 7818 : Following, fixing so the packages build Still need to update koha-create to make use of the new file 2012-07-06 11:17:19 +02:00
koha.postinst
koha.postrm
koha.prerm
koha.README.Debian
list-deps Bug 9592 - update dependencies, allow blacklisting 2013-02-15 08:06:51 -05:00
README.build
rules Bug 10802: make Debian package install history.txt 2013-09-16 15:27:16 +00:00
unavailable.html
update-control

In order to build .deb packages, following debian packages need to be present
(installed): 
devscripts
pbuilder
dh-make
fakeroot

As root (or sudo) execute:
pbuilder create

Executing build-git-snapshot without any arguments will leave package and the
rest in some pbuilder dir, eg. /var/cache/pbuilder/result It is highly
recommended that --buildresult option is used.