Skip to content

Commit 003057e

Browse files
authored
Merge pull request #5 from ttwoxa/main
Correct some typos
2 parents cc99c88 + d0b3a0d commit 003057e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

zypperoni

100644100755
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -428,12 +428,12 @@ if os.getuid() != 0:
428428
zypperoni_cleanup()
429429
sys.exit(3)
430430

431-
# Bail out if required dependecies are not available
431+
# Bail out if required dependencies are not available
432432
programs = ["zypper", "echo", "ps", "sed", "awk", "mkdir", "cat", "dirname", "basename", \
433433
"readlink", "mount", "chroot", "umount", "sleep", "rm", "env", "findmnt"]
434434
for program in programs:
435435
if not shell_exec(f"command -v {program}"):
436-
logging.error(f"Bailing out, missing required dependecy {program!r} in PATH ({os.environ.get('PATH')}) " \
436+
logging.error(f"Bailing out, missing required dependency {program!r} in PATH ({os.environ.get('PATH')}) " \
437437
f"for user {os.environ.get('USER')!r}. The following shell tools " \
438438
f"are required for zypperoni to function: {', '.join(programs)}"
439439
)
@@ -546,7 +546,7 @@ elif COMMAND in ["dup", "dup-download"]:
546546
# Handle commands: in, in-download
547547
elif COMMAND in ["in", "in-download"]:
548548
# get info about install packages
549-
logging.info("Getting packages and its dependecies to be downloaded for installation")
549+
logging.info("Getting packages and their dependencies to be downloaded for installation")
550550
xml_output = shell_exec(f"env -i zypper --non-interactive --no-cd --xmlout install --dry-run {' '.join(ARG)}")
551551
logging.debug(xml_output)
552552
get_zypp_lock()
@@ -614,7 +614,7 @@ elif COMMAND in ["in", "in-download"]:
614614
# Handle commands: inr, inr-download
615615
elif COMMAND in ["inr", "inr-download"]:
616616
# get info about recommended install packages
617-
logging.info("Getting new packages and its dependecies to be downloaded for recommended installation")
617+
logging.info("Getting new packages and their dependencies to be downloaded for recommended installation")
618618
xml_output = shell_exec(f"env -i zypper --non-interactive --no-cd --xmlout install-new-recommends --dry-run")
619619
logging.debug(xml_output)
620620
get_zypp_lock()

0 commit comments

Comments
 (0)