Do not fail if /etc/X11/xorg.conf already exists
authorMichael Prokop <mika@grml.org>
Tue, 7 Jul 2020 13:44:42 +0000 (15:44 +0200)
committerMichael Prokop <mika@grml.org>
Tue, 7 Jul 2020 14:01:43 +0000 (16:01 +0200)
commit2289606cab6f70bd1e9808cfb91cc55a2bd1eaf5
tree9dd1d8f420db7319cdd548744d68a2b8dd3f2ff8
parentdb26b123e7a5734fa5536a7a0f96ae2d1738b703
Do not fail if /etc/X11/xorg.conf already exists

The file() builtin function was removed in Python 3, see
https://docs.python.org/release/3.0/whatsnew/3.0.html#builtins

Fixes:

| NameError: name 'file' is not defined
grml-x