2 Commits
4.1.2 ... 4.1.4

Author SHA1 Message Date
1e3e490f1f do not overwrite exist settings files 2026-04-08 10:05:05 +05:00
12a2f77af7 fixed settings installer 2026-01-07 12:54:11 +05:00

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
cp "$$i" "$${i/.sample/}";
done
fi
for i in ${REPO_OWNER}/${REPO_NAME}/system/settings/*.sample; do
echo $$i;
if [ ! -f "$${i/.sample/}" ]; then
cp -n "$$i" "$${i/.sample/}";
echo $${i/.sample/};
fi
done