diff options
Diffstat (limited to 'postgresql.eselect')
-rw-r--r-- | postgresql.eselect | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresql.eselect b/postgresql.eselect index d42fda9..8dfe284 100644 --- a/postgresql.eselect +++ b/postgresql.eselect @@ -82,7 +82,7 @@ unlinker() { # Find all available slots in the preferred lib_dir() and return them. get_slots() { echo $(find "${B_PATH}/$(lib_dir)" -maxdepth 1 -type d \ - -regex '.*postgresql-[0-9]+\.[0-9]+' | \ + -regex '.*postgresql-[0-9][0-9]*\.[0-9][0-9]*' | \ sed -re 's#.*([0-9]+\.[0-9]+)$#\1#' | sort -n) } |