[Chinese-commits] [fortune-zh] 01/03: fortune-zh: update

Zhou Mo cdluminate-guest at moszumanska.debian.org
Thu Dec 8 03:56:52 UTC 2016


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

cdluminate-guest pushed a commit to branch master
in repository fortune-zh.

commit 8dda96b33248877fb687e6dfd79c66347366b856
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Thu Dec 8 03:52:13 2016 +0000

    fortune-zh: update
---
 debian/changelog | 1 +
 fortune-zh       | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index db7acf2..08d8327 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,7 @@ fortune-zh (2.0) UNRELEASED; urgency=medium
   * Override false positive lintian: capitalization-error-in-description .
   * Add autopkgtest support -- test fortune-zh script and cookie files.
   * Add TODO file.
+  * Update fortune-zh script.
 
   [ Boyuan Yang ]
   * Add a Simplified Chinese manpage.
diff --git a/fortune-zh b/fortune-zh
index ccd5625..6214a52 100755
--- a/fortune-zh
+++ b/fortune-zh
@@ -3,8 +3,9 @@
 set -e
 
 FORTUNE="/usr/games/fortune"
+[ -x $FORTUNE ] || echo "E: Please install package 'fortune-mod'."; false
 
-# the old version (1.*) of fortune-zh only has tang300 and song100
+# the old version (1.*) of fortune-zh contains only tang300 and song100
 DICT="18% tang300 05% song100 77% chinese"
 
 # check LANG

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/chinese/fortune-zh.git



More information about the Chinese-commits mailing list