Notice: the grml team is migrating from Mercurial to Git.
Please visit git.grml.org instead!
| author | Michael Prokop <mika@grml.org> |
| Mon Mar 26 22:13:22 2007 +0200 (20 months ago) | |
| changeset 16 | 40258cbb41c5 |
| manifest | 40258cbb41c5 |
| parent 15 | 2ea8c3aef9c8 |
| child 17 | dc8626868af1 |
--- a/debian/changelog Mon Mar 26 21:33:22 2007 +0200+++ b/debian/changelog Mon Mar 26 22:13:22 2007 +0200@@ -11,6 +11,8 @@ grml-x (0.3.18) unstable; urgency=low* Work around the 'intel' driver problem [Closes: issue177]* Support fallback option [Closes: issue169]* Do not run hwinfo if not really necessary [Closes: issue168]+ * Check whether $WINDOWMANAGER is executable at all before using+ it in $XINITRC.-- Michael Prokop <mika@grml.org> Mon, 26 Mar 2007 19:40:15 +0200
--- a/grml-x Mon Mar 26 21:33:22 2007 +0200+++ b/grml-x Mon Mar 26 22:13:22 2007 +0200@@ -4,7 +4,7 @@# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org># Bug-Reports: see http://grml.org/bugs/# License: This file is licensed under the GPL v2.-# Latest change: Mon Mär 26 21:26:31 CEST 2007 [mika]+# Latest change: Mon Mär 26 22:11:44 CEST 2007 [mika]################################################################################# debugging {{{@@ -29,7 +29,7 @@exit 1fi- check4root && ROOT='1' || ROOT=''+ check4root &>/dev/null && ROOT='1' || ROOT=''# }}}# set variables {{{@@ -788,10 +788,10 @@ function runitprint ""if [ -z "$DISPLAY" ] ; thenprint "$bold_color$fg[green]Now trying to run startx.$reset_color"- startx ~/.xinitrc -- $XOPTS+ startx $XINITRC -- $XOPTSelseprint "$bold_color$fg[green]Now trying to run startx on display $DISPLAY.$reset_color"- startx ~/.xinitrc -- :$DISPLAY $XOPTS+ startx $XINITRC -- :$DISPLAY $XOPTSfielseprint "$bold_color$fg[blue]Not running startx as requested via option.$reset_color"@@ -873,6 +873,10 @@ cleanup# }}}# xinitrc {{{+ if ! [ -x "$(which $WINDOWMANAGER)" ] ; then+ print "$bg[black]$fg[red]${bold_color}Fatal: windowmanager $fg[blue]$WINDOWMANAGER$fg[red] not executable, startx won' work.${reset_color}">&2+ bailout+ fiif [ -w "$XINITRC" ] ; thensed -i "s|^[^#]*exec.*| exec $WINDOWMANAGER|g" $XINITRCrunit || failed