mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
podman: fixed volume cleanup script
This commit is contained in:
parent
4970d7ee32
commit
e2f1f3fbc7
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
|||
local manifestFile="${config.xdg.configHome}/podman/$2"
|
||||
local extraListCommands="''${3:-}"
|
||||
[[ $resourceType = "container" ]] && extraListCommands+=" -a"
|
||||
[[ $resourceType = "volume" ]] && extraListCommands+=" --filter 'label=nix.home-manager.preserve=false'"
|
||||
[[ $resourceType = "volume" ]] && extraListCommands+=" --filter label=nix.home-manager.preserve=false"
|
||||
|
||||
[ ! -f "$manifestFile" ] && VERBOSE_ENABLED && echo "Manifest does not exist: $manifestFile" && return 0
|
||||
|
||||
|
|
Loading…
Reference in a new issue