From 02cac8c6192ea226073c1f8d435b64d012e7f1b6 Mon Sep 17 00:00:00 2001 From: Storm dragon Date: Mon, 22 Feb 2016 07:02:42 -0500 Subject: [PATCH] Hopefully fixed the prepend sound. --- src/talking-clock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/talking-clock b/src/talking-clock index dbcc46b..d695b8c 100755 --- a/src/talking-clock +++ b/src/talking-clock @@ -425,7 +425,7 @@ fi #There will be a slight gap between the prepended sound and the actual chiming. #This is to simulate real clocks based on my experience. if [ "$minute" -eq "0" ]; then - if [ -f "$soundPack/prepend.ogg" ] ; then + if [[ -f "$soundPack/prepend.ogg" -a "$chime" = "true" ]]; then $soundCommand "$soundPack/prepend.ogg" fi fi