gentoo-ebuilds/app-backup/backintime/files/backintime-1.5.4-crontab-systemd.patch
Sam James a71c77b1d0
app-backup/backintime: add comment to systemd crontab patch
Signed-off-by: Sam James <sam@gentoo.org>
2025-05-24 20:46:31 +01:00

12 lines
489 B
Diff

In Gentoo, we rename crontab in sys-process/systemd-cron to crontab-systemd.
--- a/common/schedule.py
+++ b/common/schedule.py
@@ -33,7 +33,7 @@ def _determine_crontab_command() -> str:
Raises:
RuntimeError: If none of the supported commands available.
"""
- to_check_commands = ['crontab', 'fcrontab']
+ to_check_commands = ['crontab', 'fcrontab', 'crontab-systemd']
for cmd in to_check_commands:
proc = subprocess.run(
['which', cmd],