mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-17 06:11:35 +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:
|
||||
from dialog import Dialog
|
||||
except ImportError:
|
||||
print("Require 'pythondialog': Install with '# slpkg -s sbo "
|
||||
print("Require 'pythondialog': Install with 'slpkg -s sbo "
|
||||
"python2-pythondialog'")
|
||||
raise SystemExit()
|
||||
self.d = Dialog(dialog="dialog", autowidgetsize=True)
|
||||
|
|
|
@ -51,7 +51,7 @@ class Graph(object):
|
|||
not os.path.isfile("/usr/bin/graph-easy")):
|
||||
comma = ","
|
||||
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))
|
||||
raise SystemExit()
|
||||
if self.image != "ascii":
|
||||
|
@ -87,7 +87,7 @@ class Graph(object):
|
|||
"""Draw ascii diagram. graph-easy perl module require
|
||||
"""
|
||||
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'")
|
||||
self.remove_dot()
|
||||
raise SystemExit()
|
||||
|
|
Loading…
Reference in a new issue