Skip to content

Commit

Permalink
Merge pull request #778 from yast/textmode-ssh
Browse files Browse the repository at this point in the history
Respect Textmode=1 when installing over SSH with a DISPLAY (bsc#1047470)
  • Loading branch information
mvidner committed Mar 5, 2019
2 parents 9f2ea75 + dec051e commit f376a72
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
6 changes: 6 additions & 0 deletions package/yast2-installation.changes
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 5 10:31:35 UTC 2019 - mvidner@suse.com

- Respect Textmode=1 when installing over SSH with a DISPLAY (bsc#1047470)
- 4.1.38

-------------------------------------------------------------------
Fri Mar 1 12:12:31 UTC 2019 - mvidner@suse.com

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-installation.spec
Expand Up @@ -16,7 +16,7 @@
#

Name: yast2-installation
Version: 4.1.37
Version: 4.1.38
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
13 changes: 8 additions & 5 deletions startup/YaST2.call
Expand Up @@ -232,13 +232,16 @@ function check_network () {
log "\tNo network interface found, fatal error"
fatalError
fi
if [ ! -z "$DISPLAY" ];then
if [ "$Textmode" = 1 ];then
log "\tTextmode selected for network install"
Y2_MODE=ncurses
elif [ ! -z "$DISPLAY" ];then
log "\tDisplay: $DISPLAY found for network install"
Y2_MODE=qt
fi
if ! check_qt ; then
log "\tQt plugin check failed falling back to ncurses"
Y2_MODE=ncurses
if ! check_qt ; then
log "\tQt plugin check failed falling back to ncurses"
Y2_MODE=ncurses
fi
fi
}

Expand Down

0 comments on commit f376a72

Please sign in to comment.