aboutsummaryrefslogtreecommitdiff
path: root/fix-dotfile-paths.sh
diff options
context:
space:
mode:
Diffstat (limited to 'fix-dotfile-paths.sh')
-rwxr-xr-xfix-dotfile-paths.sh4
1 files changed, 2 insertions, 2 deletions
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
}