diff options
author | Simon Rettberg | 2016-10-28 16:27:38 +0200 |
---|---|---|
committer | Simon Rettberg | 2016-10-28 16:27:38 +0200 |
commit | ae59090a83b784ec95821b82d9b0f11c8691bba7 (patch) | |
tree | d2cf20ca474f48cecbfd37f3c71aa8fb49ca2002 | |
parent | [kernel-vanilla] 4.8.5 (diff) | |
download | tm-scripts-ae59090a83b784ec95821b82d9b0f11c8691bba7.tar.gz tm-scripts-ae59090a83b784ec95821b82d9b0f11c8691bba7.tar.xz tm-scripts-ae59090a83b784ec95821b82d9b0f11c8691bba7.zip |
[beamergui] Fix discrepancy in varialbe name across usages
-rwxr-xr-x | remote/modules/beamergui/data/opt/openslx/scripts/beamergui-mode_setter | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/remote/modules/beamergui/data/opt/openslx/scripts/beamergui-mode_setter b/remote/modules/beamergui/data/opt/openslx/scripts/beamergui-mode_setter index 8fe9b4b6..b747d257 100755 --- a/remote/modules/beamergui/data/opt/openslx/scripts/beamergui-mode_setter +++ b/remote/modules/beamergui/data/opt/openslx/scripts/beamergui-mode_setter @@ -68,7 +68,7 @@ if [ ${#OUTPUTNAMES[@]} -eq 2 ]; then SMALL=yes fi done - if [ -z "$BEAMER" ] && [ -n "$MAYBEAMER" ] && [ -n "$SMALLONE" ]; then + if [ -z "$BEAMER" ] && [ -n "$MAYBEAMER" ] && [ -n "$SMALL" ]; then # This is a hack on top of the other hack; we already treat outputs reporting a sufficiently large width # as beamers, as we have encountered such devices in the wild. However, we might have just a large TV connected # that is intended to be used just like a beamer to present the screen to the audience. So if we have a screen @@ -175,6 +175,6 @@ if [ ${#OUTPUTNAMES[@]} -eq 2 ]; then fi fi else - echo "\e[32mOther than two outputs.\e[0m" + echo -e "\e[32mOther than two outputs.\e[0m" fi |