From 13dcc597e4ac074638a281949038547d081a96c9 Mon Sep 17 00:00:00 2001 From: Andreas Loibl Date: Sun, 5 Sep 2010 13:21:31 +0200 Subject: fixed typo and missing chmod +x --- config/chroot_local-hooks/sources.list-format | 0 config/chroot_local-includes/lib/live/config/901-hotfixes | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 config/chroot_local-hooks/sources.list-format diff --git a/config/chroot_local-hooks/sources.list-format b/config/chroot_local-hooks/sources.list-format old mode 100644 new mode 100755 diff --git a/config/chroot_local-includes/lib/live/config/901-hotfixes b/config/chroot_local-includes/lib/live/config/901-hotfixes index 5a28eb4..2723ea6 100755 --- a/config/chroot_local-includes/lib/live/config/901-hotfixes +++ b/config/chroot_local-includes/lib/live/config/901-hotfixes @@ -6,12 +6,12 @@ if [ -n "${LIVE_TIMEZONE}" ]; then fi # dirty hack to prevent kdm's "abort active sessions" prompt on live system -sudo -u "${LIVE_USERNAME}" sh -c "mkdir -p /home/${LIVE_USERNAME}/.kde/shutdown; cat > /home/${LIVE_USERNAME}/.kde/shutdown/kdm-force-shutdown-hack" << EOF +sudo -u "${LIVE_USERNAME}" sh -c "mkdir -p /home/${LIVE_USERNAME}/.kde/shutdown; cat > /home/${LIVE_USERNAME}/.kde/shutdown/kdm-force-shutdown-hack" <<"EOF" #!/bin/sh # dirty hack to prevent kdm's "abort active sessions" prompt on live system . /etc/default/distro -[ "$FLL_DISTRO_MODE" = "live ] || exit # are we live? +[ "$FLL_DISTRO_MODE" = "live" ] || exit # are we live? # "destroy" utmp, so kdm won't recognize the running logins on the other TTYs sudo perl -pi -e 's/tty/xty/g' /var/run/utmp -- cgit v1.0