add LICENSE to ignorelist
This commit is contained in:
parent
7d9f730031
commit
5c044f70f6
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ create_ls_entry () {
|
||||||
done
|
done
|
||||||
echo "* Files" >> index.org
|
echo "* Files" >> index.org
|
||||||
find -- . -maxdepth 1 -type f | sed 's/^\.\///' | while read -r file; do
|
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
|
continue
|
||||||
elif [ "${file}" = ".wallpaper" ]; then
|
elif [ "${file}" = ".wallpaper" ]; then
|
||||||
echo "- [[https://wallhaven.cc/w/vgryy5][.wallpaper]]" >> index.org
|
echo "- [[https://wallhaven.cc/w/vgryy5][.wallpaper]]" >> index.org
|
||||||
|
@ -26,7 +26,7 @@ create_ls_entry () {
|
||||||
new_file=$file
|
new_file=$file
|
||||||
fi
|
fi
|
||||||
html=$(echo "${file}" | sed 's/\.org$/\.html/')
|
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
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue