aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'postgresql.eselect')
-rw-r--r--postgresql.eselect2
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresql.eselect b/postgresql.eselect
index 7ebbfde..1e2e623 100644
--- a/postgresql.eselect
+++ b/postgresql.eselect
@@ -90,7 +90,7 @@ unlinker() {
### Get Slots Function ###
# Find all available slots in the preferred lib_dir() and return them.
get_slots() {
- echo $(find "${B_PATH}/$(lib_dir)" -maxdepth 1 -type d \
+ echo $(find "${B_PATH}/$(lib_dir)/" -maxdepth 1 -type d \
-regex '.*postgresql-[0-9][0-9]*\.[0-9][0-9]*' | \
sed -re 's#.*([0-9]+\.[0-9]+)$#\1#' | sort -n)
}