do not overwrite exist settings files

This commit is contained in:
2026-04-08 10:05:05 +05:00
parent 12a2f77af7
commit 1e3e490f1f

View File

@@ -11,7 +11,7 @@ fi
for i in ${REPO_OWNER}/${REPO_NAME}/system/settings/*.sample; do
echo $$i;
if [ ! -f "$${i/.sample/}" ]; then
cp "$$i" "$${i/.sample/}";
cp -n "$$i" "$${i/.sample/}";
echo $${i/.sample/};
fi
done