1
0
Fork 0
mirror of https://github.com/kou029w/dotfiles.git synced 2025-01-18 16:07:59 +00:00

fixed fstype check

This commit is contained in:
Nebel 2022-06-14 23:10:12 +09:00
parent 7aface3a17
commit c07e13edfd

View file

@ -15,5 +15,6 @@ screen
smartmontools smartmontools
) )
[[ "$(df --output=fstype . | sed 1d)" == "btrfs" ]] \ if [[ "$(df --output=fstype . | sed 1d)" == "btrfs" ]]; then
&& packages+=(snapper) packages+=(snapper)
fi