Skip to content

Commit f24c6f4

Browse files
committed
fix(justfile): let Quadlet generation overwrites
Add `--overwrite` flag to `podlet` invocation in the `quadlet-generate` recipe to prevent stale or outdated Quadlet units from persisting.
1 parent 76e1fda commit f24c6f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ nc := '\033[0m'
184184
@quadlet-generate:
185185
printf "{{blue}}Generating Quadlet files from {{compose_file}}...{{nc}}\n"
186186
mkdir -p {{quadlet_dir}}
187-
podman-compose -f {{compose_file}} -f {{compose_prod_file}} config | podlet -f {{quadlet_dir}} --install --absolute-host-paths /home/app compose
187+
podman-compose -f {{compose_file}} -f {{compose_prod_file}} config | podlet --overwrite -f {{quadlet_dir}} --install --absolute-host-paths /home/app compose
188188
printf "{{green}}Quadlet files generated in {{quadlet_dir}}/{{nc}}\n"
189189
ls -la {{quadlet_dir}}/
190190

0 commit comments

Comments
 (0)