From 12a2f77af7ce875f9527c1876247631641d18f63 Mon Sep 17 00:00:00 2001 From: MIRZAEV Date: Wed, 7 Jan 2026 12:54:11 +0500 Subject: [PATCH] fixed settings installer --- install.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index f6b7d30..0552dea 100755 --- a/install.sh +++ b/install.sh @@ -8,8 +8,10 @@ if [ -d author ]; then mv author ${REPO_OWNER} fi -if [ -e ${REPO_OWNER}/${REPO_NAME}/system/settings/*.sample ]; then - for i in ${REPO_OWNER}/${REPO_NAME}/system/settings/*.sample; do +for i in ${REPO_OWNER}/${REPO_NAME}/system/settings/*.sample; do + echo $$i; + if [ ! -f "$${i/.sample/}" ]; then cp "$$i" "$${i/.sample/}"; - done -fi + echo $${i/.sample/}; + fi +done