Source: docker.io
Source-Version: 1.3.2~dfsg1-1
Tags: patch
---
Index: docker.io-1.3.2~dfsg1-1/contrib/nuke-graph-directory.sh
===================================================================
--- docker.io-1.3.2~dfsg1-1/contrib/nuke-graph-directory.sh
+++ docker.io-1.3.2~dfsg1-1/contrib/nuke-graph-directory.sh
@@ -49,9 +49,9 @@
fi
done
# now, let's go destroy individual btrfs subvolumes, if any exist
+if command -v btrfs > /dev/null 2>&1; then
-if command -v btrfs &> /dev/null; then
root="$(df "$dir" | awk 'NR>1 { print $NF }')"
for subvol in $(btrfs subvolume list -o "$root" 2>/dev/null | awk -F'
path ' '{ print $2 }'); do
subvolDir="$root/$subvol"
if dir_in_dir "$subvolDir" "$dir"; then
--
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]