Add migration info and bump version

This commit is contained in:
2022-03-11 15:36:28 -05:00
parent eab71d7512
commit a7aed3c245
2 changed files with 3 additions and 2 deletions

View File

@@ -18,7 +18,7 @@
shopt -s extglob
declare -g SCRIPTVERSION="1.0b13"
declare -g SCRIPTVERSION="1.0b14"
declare -g OUTPUTDIR="$PWD/output"
declare -g CREATEREPO_WEBROOT="/var/www/jriver"
declare -g USER="${SUDO_USER:-$USER}"
@@ -1384,6 +1384,7 @@ disableCoW() {
declare mc_user_path="$HOME/.jriver"
for dir in "$mc_system_path" "$mc_user_path"; do
! [[ -d "$dir" ]] && return
if [[ $(stat -f -c %T "$dir") == "btrfs" ]] &&
! lsattr -d "$dir" | cut -f1 -d" " | grep -q C; then
echo "Disabling CoW for $dir"