Skip to content

Commit 5476f1d

Browse files
committed
Add missing dependency
1 parent 6e7c0ae commit 5476f1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

atomic-update

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ from shlex import quote
2828
import xml.etree.ElementTree as ET
2929

3030
# Constants
31-
VERSION = "0.1.2"
31+
VERSION = "0.1.3"
3232
ZYPPER_PID_FILE = "/run/zypp.pid"
3333
VALID_CMD = ["dup", "run", "rollback"]
3434
VALID_OPT = ["--reboot", "--apply", "--shell", "--continue", "--no-verify", \
@@ -294,7 +294,7 @@ if os.getuid() != 0:
294294
# Bail out if required dependecies are not available
295295
programs = ["zypper", "snapper", "btrfs", "echo", "ps", "sed", "awk", "bash", "sort", \
296296
"env", "chroot", "mount", "umount", "rmdir", "findmnt", "systemd-nspawn", \
297-
"systemctl", "machinectl"]
297+
"systemctl", "machinectl", "systemd-analyze"]
298298
for program in programs:
299299
if not shell_exec(f"command -v {program}"):
300300
logging.error(f"Bailing out, missing required dependecy {program!r} in PATH ({os.environ.get('PATH')}) " \

0 commit comments

Comments
 (0)