From b13529023c4410f7877d05dc69d53b6bde380733 Mon Sep 17 00:00:00 2001 From: CyberLeo Date: Mon, 30 Oct 2017 03:57:16 -0500 Subject: [PATCH] These are shellscripts; name them appropriately. --- fetch | 4 ++-- lib/profiles/{danbooru => danbooru.sh} | 0 lib/profiles/{e621 => e621.sh} | 0 lib/profiles/{gelbooru => gelbooru.sh} | 0 lib/profiles/{konachan => konachan.sh} | 0 lib/profiles/{lolibooru => lolibooru.sh} | 0 lib/profiles/{safebooru => safebooru.sh} | 0 lib/profiles/{sankakucomplex => sankakucomplex.sh} | 0 lib/profiles/{wildcritters => wildcritters.sh} | 0 9 files changed, 2 insertions(+), 2 deletions(-) rename lib/profiles/{danbooru => danbooru.sh} (100%) rename lib/profiles/{e621 => e621.sh} (100%) rename lib/profiles/{gelbooru => gelbooru.sh} (100%) rename lib/profiles/{konachan => konachan.sh} (100%) rename lib/profiles/{lolibooru => lolibooru.sh} (100%) rename lib/profiles/{safebooru => safebooru.sh} (100%) rename lib/profiles/{sankakucomplex => sankakucomplex.sh} (100%) rename lib/profiles/{wildcritters => wildcritters.sh} (100%) diff --git a/fetch b/fetch index abb403e..476f072 100755 --- a/fetch +++ b/fetch @@ -39,10 +39,10 @@ taggery_base="$(dirname "${0}")" taggery_libs="$(dirname "${0}")/lib" # Try and find the profile that can handle the url -profiles="$(cd "${taggery_libs}/profiles"; ls -1)" +profiles="$(cd "${taggery_libs}/profiles"; ls -1 | sed -e 's/.sh$//')" for profile in ${profiles} do - . "${taggery_libs}/profiles/${profile}" + . "${taggery_libs}/profiles/${profile}.sh" "${profile}_can_handle" "${url}" || continue taggery_name="${profile}" break diff --git a/lib/profiles/danbooru b/lib/profiles/danbooru.sh similarity index 100% rename from lib/profiles/danbooru rename to lib/profiles/danbooru.sh diff --git a/lib/profiles/e621 b/lib/profiles/e621.sh similarity index 100% rename from lib/profiles/e621 rename to lib/profiles/e621.sh diff --git a/lib/profiles/gelbooru b/lib/profiles/gelbooru.sh similarity index 100% rename from lib/profiles/gelbooru rename to lib/profiles/gelbooru.sh diff --git a/lib/profiles/konachan b/lib/profiles/konachan.sh similarity index 100% rename from lib/profiles/konachan rename to lib/profiles/konachan.sh diff --git a/lib/profiles/lolibooru b/lib/profiles/lolibooru.sh similarity index 100% rename from lib/profiles/lolibooru rename to lib/profiles/lolibooru.sh diff --git a/lib/profiles/safebooru b/lib/profiles/safebooru.sh similarity index 100% rename from lib/profiles/safebooru rename to lib/profiles/safebooru.sh diff --git a/lib/profiles/sankakucomplex b/lib/profiles/sankakucomplex.sh similarity index 100% rename from lib/profiles/sankakucomplex rename to lib/profiles/sankakucomplex.sh diff --git a/lib/profiles/wildcritters b/lib/profiles/wildcritters.sh similarity index 100% rename from lib/profiles/wildcritters rename to lib/profiles/wildcritters.sh -- 2.45.0