File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 6666
6767 # Rename the loader to be version-specific
6868 if [ -f $out/lib/timescaledb${ postgresql . dlSuffix } ]; then
69- mv $out/lib/timescaledb${ postgresql . dlSuffix } $out/lib/timescaledb-loader- ${ version } ${ postgresql . dlSuffix }
69+ mv $out/lib/timescaledb${ postgresql . dlSuffix } $out/lib/timescaledb-${ version } ${ postgresql . dlSuffix }
7070 fi
7171
7272 # The versioned library (timescaledb-VERSION.so) is already correctly named
@@ -111,7 +111,7 @@ buildEnv {
111111 } > $out/share/postgresql/extension/${ pname } .control
112112
113113 # Create symlink for the loader
114- ln -sfn ${ pname } -loader- ${ latestVersion } ${ postgresql . dlSuffix } $out/lib/${ pname } ${ postgresql . dlSuffix }
114+ ln -sfn ${ pname } -${ latestVersion } ${ postgresql . dlSuffix } $out/lib/${ pname } ${ postgresql . dlSuffix }
115115
116116 # The versioned library symlink (timescaledb-VERSION.so files are already in place)
117117
Original file line number Diff line number Diff line change @@ -54,14 +54,6 @@ writeShellApplication {
5454 # Update library symlink
5555 ln -sfnv "$EXT_LIB_TO_USE" "$EXT_WRAPPER_LIB/$EXT_NAME${ postgresql . dlSuffix } "
5656
57- # Handle timescaledb-loader symlink (specific to timescaledb)
58- if [ "$EXT_NAME" = "timescaledb" ]; then
59- EXT_LOADER_TO_USE="$EXT_WRAPPER_LIB/$EXT_NAME-loader-$VERSION${ postgresql . dlSuffix } "
60- if [ -f "$EXT_LOADER_TO_USE" ]; then
61- ln -sfnv "$EXT_LOADER_TO_USE" "$EXT_WRAPPER_LIB/$EXT_NAME-loader${ postgresql . dlSuffix } "
62- fi
63- fi
64-
6557 # Update control file
6658 EXT_WRAPPER_SHARE="$EXT_WRAPPER/share/postgresql/extension"
6759 echo "default_version = '$VERSION'" > "$EXT_WRAPPER_SHARE/$EXT_NAME.control"
You can’t perform that action at this time.
0 commit comments