Explicitly use python2.6 [Closes: issue946]
authorChristian Hofstaedtler <ch@grml.org>
Tue, 14 Dec 2010 01:09:15 +0000 (02:09 +0100)
committerChristian Hofstaedtler <ch@grml.org>
Tue, 14 Dec 2010 01:09:15 +0000 (02:09 +0100)
debian/control
grml-x

index dbe760d..c595f0e 100644 (file)
@@ -11,7 +11,7 @@ Vcs-Browser: http://git.grml.org/?p=grml-x.git
 
 Package: grml-x
 Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, xserver-xorg | xserver, sudo, grml-shlib, x11-xkb-utils, x11-xserver-utils, xauth, xinit, python
+Depends: ${shlibs:Depends}, ${misc:Depends}, xserver-xorg | xserver, sudo, grml-shlib, x11-xkb-utils, x11-xserver-utils, xauth, xinit, python2.6
 Recommends: fluxbox | x-window-manager, x11-utils, xcursor-themes, xfonts-base, xserver-xorg-input-all, xserver-xorg-input-kbd, xserver-xorg-input-vmmouse, xserver-xorg-video-all, xterm | x-terminal-emulator, grml-etc-core
 Suggests: xfonts-100dpi, xfonts-75dpi, fonts-ttf-west-european, xfonts-base-transcoded
 Conflicts: grml-scripts (<= 0.4-4)
diff --git a/grml-x b/grml-x
index 5e325e1..270f8b6 100755 (executable)
--- a/grml-x
+++ b/grml-x
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2.6
 # -*- coding: utf-8 -*-
 # vim: set et ts=4:
 
@@ -9,6 +9,8 @@
 # License:       This file is licensed under the GPL v2.
 ###############################################################################
 
+# Requires python 2.6 or, possibly, a newer version of python 2.X.
+
 import fileinput, os, subprocess, sys, tempfile, time, traceback
 from optparse import OptionParser