New commits:
commit 23a9dafa654c25c8087c13a628d27146fd5382c9
Author: Bor Kraljič <pyrobor AT ver.si>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
libmisc: check [[ $dialog == yes ]] in function show_file() (fixes #245)
diff --git a/var/lib/sorcery/modules/libmisc b/var/lib/sorcery/modules/libmisc
index 623c241..55a56db 100755
--- a/var/lib/sorcery/modules/libmisc
+++ b/var/lib/sorcery/modules/libmisc
@@ -1620,7 +1620,7 @@ function show_file() {
local msg=${3:-"File not found."}
if [[ -f $file && -s $file ]]; then
case "$(file -b "$file")" in
- *text) if [[ $dialog ]]; then
+ *text) if [[ $dialog == "yes" ]]; then
eval $DIALOG '--textbox $1 0 0'
else
cat "$file" | $PAGER
[SM-Commit] GIT changes to master sorcery by Jaka Kranjc (23a9dafa654c25c8087c13a628d27146fd5382c9),
Jaka Kranjc, 09/18/2011