fixed settings installer

This commit is contained in:
2026-01-07 12:54:11 +05:00
parent ee02ecd474
commit 12a2f77af7

View File

@@ -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