diff --git a/.installer/executables b/.installer/executables index 02e3713..a96608a 100755 --- a/.installer/executables +++ b/.installer/executables @@ -1,2 +1 @@ -^\.local\/bin -^\.local\/share\/xrandr +^\.local(\/bin|\/share\/xrandr) diff --git a/.installer/ignored b/.installer/ignored index e9effb2..76975e0 100755 --- a/.installer/ignored +++ b/.installer/ignored @@ -1,5 +1 @@ -^src -^\README\.md -^\.install -^install\.sh$ -^setup_system\.sh$ +^(\.install|(install|setup_system)\.sh|src|README\.md)$ diff --git a/install.sh b/install.sh index 5a2b35f..3458696 100755 --- a/install.sh +++ b/install.sh @@ -41,14 +41,14 @@ function install() { echo "Copying files... 💾" while IFS= read -r file; do + [[ "$file" =~ ".git"* ]] && continue + perform_copy=true file="${file#"$SCRIPT_DIR/"}" dir="$(dirname "$HOME/$file")" src="$SCRIPT_DIR/$file" dst="$HOME/$file" - grep -Eq "^\.git(ignore|/)" <<<"$file" && continue - if is_ignored "$file"; then echo "IGNORE: '$file'" continue