mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
[fix] unexisting variable
This commit is contained in:
parent
8ecf91dac8
commit
45b320cf9c
1 changed files with 2 additions and 1 deletions
|
@ -132,7 +132,8 @@ def check_script(path, script_name):
|
|||
if check_file_exist(script_path) == 0:
|
||||
return
|
||||
print (c.BOLD + c.HEADER + "\n>>>>",
|
||||
scripts[i].upper(), "SCRIPT <<<<" + c.END)
|
||||
script_name.upper(), "SCRIPT <<<<" + c.END)
|
||||
|
||||
script = read_file(script_path)
|
||||
check_script_header_presence(script)
|
||||
check_sudo_prefix_commands(script)
|
||||
|
|
Loading…
Reference in a new issue