]> git.pld-linux.org Git - packages/fslint.git/blob - fslint.patch
- BR: rpm-pythonprov
[packages/fslint.git] / fslint.patch
1 --- ./fslint-gui~       2008-12-17 20:40:21.781559667 +0200
2 +++ ./fslint-gui        2008-12-17 20:31:15.848440165 +0200
3 @@ -1,4 +1,4 @@
4 -#!/usr/bin/env python
5 +#!/usr/bin/python
6  # vim:fileencoding=utf-8
7  # Note both python and vim understand the above encoding declaration
8  
9 @@ -381,7 +381,7 @@
10          types = ("rpm", "dpkg", "pacman")
11          for dist in types:
12              setattr(self, dist, False)
13 -        if os.path.exists("/etc/redhat-release"):
14 +        if os.path.exists("/etc/pld-release"):
15              self.rpm = True
16          elif os.path.exists("/etc/debian_version"):
17              self.dpkg = True
This page took 0.033565 seconds and 3 git commands to generate.