diff --git a/packages.bash b/packages.bash index e0f176c..a82b93c 100644 --- a/packages.bash +++ b/packages.bash @@ -15,5 +15,6 @@ screen smartmontools ) -[[ "$(df --output=fstype . | sed 1d)" == "btrfs" ]] \ - && packages+=(snapper) +if [[ "$(df --output=fstype . | sed 1d)" == "btrfs" ]]; then + packages+=(snapper) +fi