From ca524b81c38db922d8e3ea2c5f233b436166a753 Mon Sep 17 00:00:00 2001 From: Christian Hofstaedtler Date: Tue, 14 Dec 2010 02:09:15 +0100 Subject: [PATCH] Explicitly use python2.6 [Closes: issue946] --- debian/control | 2 +- grml-x | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index dbe760d..c595f0e 100644 --- a/debian/control +++ b/debian/control @@ -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 --- 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 -- 2.1.4