Fixes in sed
This commit is contained in:
parent
4a97ab685d
commit
352bd673ba
1 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ import json
|
||||||
def shell_command(command):
|
def shell_command(command):
|
||||||
|
|
||||||
if call(command, shell=True) > 0:
|
if call(command, shell=True) > 0:
|
||||||
print('Error: cannot execute command')
|
print('Error: cannot execute command '+command+"\n\n")
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def check_distro(arr_command):
|
def check_distro(arr_command):
|
||||||
|
|
@ -18,7 +18,7 @@ def check_distro(arr_command):
|
||||||
|
|
||||||
if not distro_id in arr_command:
|
if not distro_id in arr_command:
|
||||||
|
|
||||||
print("Sorry, you don't have a patch for this distro\n\n")
|
print("Sorry, you cannot get the distro\n\n")
|
||||||
|
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue