Fix: "name 'os' is not defined" fault in preinst
This commit is contained in:
parent
c17a834a52
commit
7b835b26b4
1 changed files with 1 additions and 0 deletions
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
|
import os
|
||||||
|
|
||||||
# Backup the config file if we're upgrading
|
# Backup the config file if we're upgrading
|
||||||
if "upgrade" in sys.argv:
|
if "upgrade" in sys.argv:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue