Merge lp:~gunnarhj/lightdm/lp-1627395 into lp:lightdm

Proposed by Gunnar Hjalmarsson
Status: Merged
Merged at revision: 2399
Proposed branch: lp:~gunnarhj/lightdm/lp-1627395
Merge into: lp:lightdm
Diff against target: 29 lines (+3/-3)
1 file modified
debian/guest-session-auto.sh (+3/-3)
To merge this branch: bzr merge lp:~gunnarhj/lightdm/lp-1627395
Reviewer Review Type Date Requested Status
Robert Ancell Approve
Review via email: mp+306696@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Robert Ancell (robert-ancell) wrote :

Sure

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/guest-session-auto.sh'
--- debian/guest-session-auto.sh 2015-08-06 02:06:28 +0000
+++ debian/guest-session-auto.sh 2016-09-24 23:44:59 +0000
@@ -1,6 +1,6 @@
1#!/bin/sh1#!/bin/sh
2#2#
3# Copyright (C) 2013 Canonical Ltd3# Copyright (C) 2013-2016 Canonical Ltd
4# Author: Gunnar Hjalmarsson <gunnarhj@ubuntu.com>4# Author: Gunnar Hjalmarsson <gunnarhj@ubuntu.com>
5#5#
6# This program is free software: you can redistribute it and/or modify it under6# This program is free software: you can redistribute it and/or modify it under
@@ -37,7 +37,7 @@
37/var/guest-data folder.')37/var/guest-data folder.')
38 test -w /var/guest-data && TEXT="$TEXT\n\n$para2"38 test -w /var/guest-data && TEXT="$TEXT\n\n$para2"
39}39}
40test -f "$HOME"/.skip-guest-warning-dialog || {40if [ ! -f "$HOME"/.skip-guest-warning-dialog ] && [ "$XDG_CURRENT_DESKTOP" != 'MATE' ]; then
41 if [ "$KDE_FULL_SESSION" = true ] && [ -x /usr/bin/kdialog ]; then41 if [ "$KDE_FULL_SESSION" = true ] && [ -x /usr/bin/kdialog ]; then
42 dialog_content42 dialog_content
43 TEXT_FILE="$HOME"/.guest-session-kdialog43 TEXT_FILE="$HOME"/.guest-session-kdialog
@@ -58,7 +58,7 @@
58 zenity --warning --no-wrap --title="$TITLE" --text="$TEXT"58 zenity --warning --no-wrap --title="$TITLE" --text="$TEXT"
59 } &59 } &
60 fi60 fi
61}61fi
6262
63# run possible local startup commands63# run possible local startup commands
64test -f /etc/guest-session/auto.sh && . /etc/guest-session/auto.sh64test -f /etc/guest-session/auto.sh && . /etc/guest-session/auto.sh

Subscribers

People subscribed via source and target branches