From 28c55aa1a8c82def2ffdb3e000812a5523371ac5 Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Fri, 10 Mar 2023 10:44:48 +0100
Subject: Add playbook_path()
---
lib/subcommands/del.bash | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'lib/subcommands/del.bash')
diff --git a/lib/subcommands/del.bash b/lib/subcommands/del.bash
index c09c501..38d675c 100644
--- a/lib/subcommands/del.bash
+++ b/lib/subcommands/del.bash
@@ -16,7 +16,7 @@ subcommand()
return
fi
- local playbook_base="$BASHTARD_ETCDIR/playbooks.d/$BASHTARD_PLAYBOOK"
+ local playbook_base="$(playbook_path "base")"
local playbook_registry="$BASHTARD_ETCDIR/registry.d/${BASHTARD_PLATFORM[fqdn]}"
# Make sure we only run add if the playbook is not in the registry yet
--
cgit v1.1