Skip to content

Commit 1211077

Browse files
authored
fix: add recursive flag to custom extension script directory delete (#1292)
1 parent a5e5919 commit 1211077

File tree

1 file changed

+1
-1
lines changed
  • ansible/files/admin_api_scripts/pg_upgrade_scripts

1 file changed

+1
-1
lines changed

ansible/files/admin_api_scripts/pg_upgrade_scripts/initiate.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ EOF
426426
cp -R /etc/postgresql-custom/* "$MOUNT_POINT/conf/"
427427
# removing supautils config as to allow the latest one provided by the latest image to be used
428428
rm -f "$MOUNT_POINT/conf/supautils.conf" || true
429-
rm -f "$MOUNT_POINT/conf/extension-custom-scripts" || true
429+
rm -rf "$MOUNT_POINT/conf/extension-custom-scripts" || true
430430

431431
# removing wal-g config as to allow it to be explicitly enabled on the new instance
432432
rm -f "$MOUNT_POINT/conf/wal-g.conf"

0 commit comments

Comments
 (0)