fixed settings installer

This commit is contained in:
2026-01-07 12:54:54 +05:00
parent 190ef8eabd
commit a76e11fb9f

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