This commit is contained in:
[yuri]
2025-11-11 14:24:04 +01:00
parent bd6ea6727e
commit ee86712d78
2 changed files with 63 additions and 107 deletions

View File

@@ -126,7 +126,7 @@ if [[ "${DE}" == "xfce" || "${DDE}" == "xfce" ]]; then
fi
# Set basic configuration
SOURCE_DIR="$SCRIPT_DIR/config-files/debian/"
SOURCE_DIR="$SCRIPT_DIR/config-files/debian"
DEST_DIR="$HOME"
# 1. Check if the source directory exists
@@ -137,8 +137,9 @@ if [[ "${DE}" == "xfce" || "${DDE}" == "xfce" ]]; then
# 2. Copy files from source to destination recursively
say_yellow "Copying all files and directories (including hidden ones) from $SOURCE_DIR to $DEST_DIR"
cp -vrf "$SOURCE_DIR"/.* "$SOURCE_DIR"/* "$DEST_DIR"/
shopt -s dotglob
cp -vrf "$SOURCE_DIR"/* "$DEST_DIR"/
shopt -u dotglob
fi