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:
parent
7aface3a17
commit
c07e13edfd
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue