Skip to content

Commit d3e837b

Browse files
committed
nextspace-applications.spec: check if uninstallation is tunning iun SSH before calling chvt. Should fix issue #484
1 parent 169d7d0 commit d3e837b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Applications/nextspace-applications.spec

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,9 @@ if [ $1 -eq 0 ]; then
134134
systemctl stop loginwindow.service
135135
systemctl disable loginwindow.service
136136
systemctl set-default multi-user.target
137-
chvt 02
137+
if [ -z "$SSH_CLIENT" ]; then
138+
chvt 02
139+
fi
138140
fi
139141

140142
%postun

0 commit comments

Comments
 (0)