mirror of
https://gh.llkk.cc/https://github.com/WeblateOrg/scripts.git
synced 2025-10-03 15:01:00 +08:00
Revert to ls, there should be no special chars here
This commit is contained in:
parent
f4bc9c11d8
commit
5954f1880b
1 changed files with 2 additions and 1 deletions
|
@ -11,7 +11,8 @@ cd /tmp
|
|||
apt install -y postgresql
|
||||
|
||||
# Figure out current cluster version
|
||||
CLUSTER_VERSION=$(find /etc/postgresql -mindepth 1 -maxdepth 1 | sort | tail -n1)
|
||||
# shellcheck disable=SC2012
|
||||
CLUSTER_VERSION=$(ls /etc/postgresql | sort | tail -n1)
|
||||
|
||||
# Start cluster
|
||||
pg_ctlcluster "$CLUSTER_VERSION" main start
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue