From 5c044f70f61cdd0813bc5843f369cb5e4874f7ec Mon Sep 17 00:00:00 2001 From: Jacob Janzen Date: Thu, 8 Aug 2024 20:35:43 -0500 Subject: add LICENSE to ignorelist --- fix-dotfile-paths.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fix-dotfile-paths.sh') diff --git a/fix-dotfile-paths.sh b/fix-dotfile-paths.sh index 004f646..b155910 100755 --- a/fix-dotfile-paths.sh +++ b/fix-dotfile-paths.sh @@ -13,7 +13,7 @@ create_ls_entry () { done echo "* Files" >> index.org find -- . -maxdepth 1 -type f | sed 's/^\.\///' | while read -r file; do - if echo "${file}" | grep -q "\(\.tar\.gz$\|\*|^index\.org$\|^README\.md$\|^\.build\.yml$\|^install$\)"; then + if echo "${file}" | grep -q "\(\.tar\.gz$\|\*|^index\.org$\|^README\.md$\|^\.build\.yml$\|^install$\|^LICENSE$\)"; then continue elif [ "${file}" = ".wallpaper" ]; then echo "- [[https://wallhaven.cc/w/vgryy5][.wallpaper]]" >> index.org @@ -26,7 +26,7 @@ create_ls_entry () { new_file=$file fi html=$(echo "${file}" | sed 's/\.org$/\.html/') - echo "- [[https://jjanzen.ca/dotfiles/$1${html}][=${new_file}=]]" >> index.org + echo "- [[https://jjanzen.ca/dotfiles/$1${html}][${new_file}]]" >> index.org done } -- cgit v1.2.3