Lines 23-29
Link Here
|
23 |
from distutils import log |
23 |
from distutils import log |
24 |
from subprocess import Popen, PIPE |
24 |
from subprocess import Popen, PIPE |
25 |
sys.path.append("lib") |
25 |
sys.path.append("lib") |
26 |
from contrib.debian.installer import DebianInstaller |
|
|
27 |
|
26 |
|
28 |
# |
27 |
# |
29 |
# Build the command line script |
28 |
# Build the command line script |
Lines 363-377
Link Here
|
363 |
status += "no" |
362 |
status += "no" |
364 |
mis_stys.append(sty) |
363 |
mis_stys.append(sty) |
365 |
print status |
364 |
print status |
366 |
|
365 |
|
367 |
if mis_stys: |
366 |
if mis_stys: |
368 |
raise OSError("not found: %s" % ", ".join(mis_stys)) |
367 |
raise OSError("not found: %s" % ", ".join(mis_stys)) |
369 |
|
368 |
|
370 |
def run(self): |
369 |
def run(self): |
371 |
if self.install_layout == "deb": |
370 |
db = None |
372 |
db = DebianInstaller(self) |
|
|
373 |
else: |
374 |
db = None |
375 |
|
371 |
|
376 |
if not(db) and not(self.nodeps): |
372 |
if not(db) and not(self.nodeps): |
377 |
try: |
373 |
try: |