File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -242,23 +242,6 @@ buildEnv {
242242
243243 create_migration_sql_files() {
244244
245- TEMP_DIR=$(mktemp -d)
246-
247- # Copy all existing SQL and control files, dereferencing symlinks
248- if [ -d "$out/share/postgresql/extension" ]; then
249- cp -rL $out/share/postgresql/extension/* $TEMP_DIR/ 2>/dev/null || true
250- # Need to remove from parent and recreate to avoid immutable symlinked structure
251- chmod -R u+w $out/share/postgresql 2>/dev/null || true
252- rm -rf $out/share/postgresql/extension
253- fi
254-
255- # Recreate the entire path as real directories
256- mkdir -p $out/share/postgresql/extension
257-
258- # Copy everything back
259- if [ "$(ls -A $TEMP_DIR 2>/dev/null)" ]; then
260- cp -r $TEMP_DIR/* $out/share/postgresql/extension/
261- fi
262245
263246 PREVIOUS_VERSION=""
264247 while IFS= read -r i; do
You can’t perform that action at this time.
0 commit comments