mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-06 10:58:26 +02:00
- Fixed setup installer
This commit is contained in:
3
setup.py
3
setup.py
@@ -27,13 +27,16 @@ check_xbind = symbols_gui_line = cmdline("which xbindkeys").strip()
|
|||||||
check_xdotool = symbols_gui_line = cmdline("which xdotool").strip()
|
check_xdotool = symbols_gui_line = cmdline("which xdotool").strip()
|
||||||
|
|
||||||
runpkg = 0
|
runpkg = 0
|
||||||
|
run_pkg = ""
|
||||||
|
|
||||||
if len(check_xbind) > 0 and len(check_xdotool) > 0:
|
if len(check_xbind) > 0 and len(check_xdotool) > 0:
|
||||||
print("Xbindkeys, and xdotool requirement is installed.")
|
print("Xbindkeys, and xdotool requirement is installed.")
|
||||||
if len(check_xbind) == 0:
|
if len(check_xbind) == 0:
|
||||||
run_pkg = "xbindkeys"
|
run_pkg = "xbindkeys"
|
||||||
|
runpkg = 1
|
||||||
if len(check_xdotool) == 0:
|
if len(check_xdotool) == 0:
|
||||||
run_pkg += " xdotool"
|
run_pkg += " xdotool"
|
||||||
|
runpkg = 1
|
||||||
|
|
||||||
if runpkg != 0:
|
if runpkg != 0:
|
||||||
requirements()
|
requirements()
|
||||||
|
Reference in New Issue
Block a user