Skip to content

Commit

Permalink
Add postgis extension symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
TakoB222 committed Jan 19, 2024
1 parent 3ad7e9b commit b3fe689
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,20 @@ parts:
dpkg-query -W -f "${dpkg_ops}\n" \
--root=${CRAFT_PROJECT_DIR}/../parts/postgresql-snap/layer/ \
>> $CRAFT_PRIME/usr/share/rocks/dpkg.query
ln $CRAFT_PRIME/usr/share/postgresql/14/extension/postgis.control \
$CRAFT_PRIME/usr/share/postgresql/14/extension/postgis-3.control
ln $CRAFT_PRIME/usr/share/postgresql/14/extension/ \
address_standardizer.control $CRAFT_PRIME/usr/share/postgresql/ \
14/extension/address_standardizer-3.control
ln $CRAFT_PRIME/usr/share/postgresql/14/extension/ \
address_standardizer_data_us.control $CRAFT_PRIME/usr/share/ \
postgresql/14/extension/address_standardizer_data_us-3.control
ln $CRAFT_PRIME/usr/share/postgresql/14/extension/ \
postgis_raster.control $CRAFT_PRIME/usr/share/postgresql/14/ \
extension/postgis_raster-3.control
ln $CRAFT_PRIME/usr/share/postgresql/14/extension/ \
postgis_tiger_geocoder.control $CRAFT_PRIME/usr/share/ \
postgresql/14/extension/postgis_tiger_geocoder-3.control
ln $CRAFT_PRIME/usr/share/postgresql/14/extension/ \
postgis_topology.control $CRAFT_PRIME/usr/share/ \
postgresql/14/extension/postgis_topology-3.control

0 comments on commit b3fe689

Please sign in to comment.