Fix: Use cp instead of ln to avoid reading error caused by permission

This commit is contained in:
winkidney
2019-12-21 17:03:50 +08:00
parent 751d3bd71b
commit edefdfae2f

View File

@@ -27,4 +27,4 @@ then
sed -i "s/secret\_key\_place\_holder/${SECRET_KEY}/" "${local_settings_file}"
fi
ln -s "${local_settings_file}" "/pinry/pinry/settings/local_settings.py"
cp "${local_settings_file}" "/pinry/pinry/settings/local_settings.py"