forked from evolix/evocheck
Merge branch 'master' into debian
This commit is contained in:
commit
1e39fd9d12
|
@ -748,7 +748,7 @@ if [ -e /etc/debian_version ]; then
|
||||||
# Do it only if thereis blkid binary
|
# Do it only if thereis blkid binary
|
||||||
if [ -x "$(which blkid)" ]; then
|
if [ -x "$(which blkid)" ]; then
|
||||||
tmpFile=$(mktemp -p /tmp)
|
tmpFile=$(mktemp -p /tmp)
|
||||||
for part in $(blkid | grep -v raid_member | grep -Eo 'LABEL=".*"' | cut -d'"' -f2); do
|
for part in $(blkid | grep -v raid_member | grep -Eo ' LABEL=".*"' | cut -d'"' -f2); do
|
||||||
echo "$part" >> "$tmpFile"
|
echo "$part" >> "$tmpFile"
|
||||||
done
|
done
|
||||||
tmpOutput=$(sort < "$tmpFile" | uniq -d)
|
tmpOutput=$(sort < "$tmpFile" | uniq -d)
|
||||||
|
|
Loading…
Reference in a new issue