From 5f609ba25fe40e4f6ec9263f1be5e4aa5e9e1a7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?h=CE=B1rsh=20v=CE=B1ir=CE=B1gi?= Date: Thu, 25 Jan 2024 14:02:31 +0530 Subject: [PATCH] file.search.int to file.search.pos updated in _uri.sh file --- _uri.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_uri.sh b/_uri.sh index e012e4d..031be29 100644 --- a/_uri.sh +++ b/_uri.sh @@ -120,16 +120,16 @@ _uri.addModuleSource(){ # checking catogories. if [[ "${PRIMARY_MODULES[*]}" == *"${ARGModuleVar}"* ]]; then # position of catogory hash. - local PosMap="$(file.search.int "#@PRIMARY_MODULES" "${ARGResultFile}")"; + local PosMap="$(file.search.pos "#@PRIMARY_MODULES" "${ARGResultFile}")"; elif [[ "${SECONDARY_MODULES[*]}" == *"${ARGModuleVar}"* ]]; then # position of catogory hash. - local PosMap="$(file.search.int "#@SECONDARY_MODULES" "${ARGResultFile}")"; + local PosMap="$(file.search.pos "#@SECONDARY_MODULES" "${ARGResultFile}")"; elif [[ "${TERTIARY_MODULES[*]}" == *"${ARGModuleVar}"* ]]; then # position of catogory hash. - local PosMap="$(file.search.int "#@TERTIARY_MODULES" "${ARGResultFile}")"; + local PosMap="$(file.search.pos "#@TERTIARY_MODULES" "${ARGResultFile}")"; else # position of catogory hash. - local PosMap="$(file.search.int "#@OTHER_MODULES" "${ARGResultFile}")"; + local PosMap="$(file.search.pos "#@OTHER_MODULES" "${ARGResultFile}")"; fi # installing module. file.append.vert "$(_uri.chotuCode "${ARGModule}")" "$(( PosMap+1 ))" "${ARGResultFile}" &&