Skip to content

Commit 07b7706

Browse files
committed
Use apt-get instead of apt in dependency installation scripts
1 parent 35fc3b8 commit 07b7706

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

postgres/scripts/install-dependencies.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
77

88
if [[ ! -z $(which yum) ]]; then
99
sudo yum install -y postgresql-devel
10-
elif [[ ! -z $(which apt) ]]; then
11-
sudo apt update
12-
sudo apt install -y libpq5
10+
elif [[ ! -z $(which apt-get) ]]; then
11+
sudo apt-get update
12+
sudo apt-get install -y libpq5
1313
else
1414
echo "Operating system not supported, please install the dependencies manually"
1515
fi

umbra/scripts/install-dependencies.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
77

88
if [[ ! -z $(which yum) ]]; then
99
sudo yum install -y postgresql-devel
10-
elif [[ ! -z $(which apt) ]]; then
11-
sudo apt update
12-
sudo apt install -y libpq5
10+
elif [[ ! -z $(which apt-get) ]]; then
11+
sudo apt-get update
12+
sudo apt-get install -y libpq5
1313
else
1414
echo "Operating system not supported, please install the dependencies manually"
1515
fi

0 commit comments

Comments
 (0)