mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-06 08:46:21 +01:00
Update command message
This commit is contained in:
parent
1ac3746db2
commit
8afcc1fb4a
2 changed files with 3 additions and 3 deletions
|
@ -34,7 +34,7 @@ class DialogUtil(object):
|
||||||
try:
|
try:
|
||||||
from dialog import Dialog
|
from dialog import Dialog
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print("Require 'pythondialog': Install with '# slpkg -s sbo "
|
print("Require 'pythondialog': Install with 'slpkg -s sbo "
|
||||||
"python2-pythondialog'")
|
"python2-pythondialog'")
|
||||||
raise SystemExit()
|
raise SystemExit()
|
||||||
self.d = Dialog(dialog="dialog", autowidgetsize=True)
|
self.d = Dialog(dialog="dialog", autowidgetsize=True)
|
||||||
|
|
|
@ -51,7 +51,7 @@ class Graph(object):
|
||||||
not os.path.isfile("/usr/bin/graph-easy")):
|
not os.path.isfile("/usr/bin/graph-easy")):
|
||||||
comma = ","
|
comma = ","
|
||||||
graph_easy = " graph-easy"
|
graph_easy = " graph-easy"
|
||||||
print("Require 'pygraphviz{0}{1}': Install with '# slpkg -s sbo "
|
print("Require 'pygraphviz{0}{1}': Install with 'slpkg -s sbo "
|
||||||
"pygraphviz{1}'".format(comma, graph_easy))
|
"pygraphviz{1}'".format(comma, graph_easy))
|
||||||
raise SystemExit()
|
raise SystemExit()
|
||||||
if self.image != "ascii":
|
if self.image != "ascii":
|
||||||
|
@ -87,7 +87,7 @@ class Graph(object):
|
||||||
"""Draw ascii diagram. graph-easy perl module require
|
"""Draw ascii diagram. graph-easy perl module require
|
||||||
"""
|
"""
|
||||||
if not os.path.isfile("/usr/bin/graph-easy"):
|
if not os.path.isfile("/usr/bin/graph-easy"):
|
||||||
print("Require 'graph-easy': Install with '$ slpkg -s sbo "
|
print("Require 'graph-easy': Install with 'slpkg -s sbo "
|
||||||
"graph-easy'")
|
"graph-easy'")
|
||||||
self.remove_dot()
|
self.remove_dot()
|
||||||
raise SystemExit()
|
raise SystemExit()
|
||||||
|
|
Loading…
Add table
Reference in a new issue