Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit c344797

Browse files
committed
2 parents 2217404 + d531a6b commit c344797

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

script-library/common-debian.sh

+4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ if [ "$(id -u)" -ne 0 ]; then
1818
exit 1
1919
fi
2020

21+
# Get to latest versions of all packages
22+
apt-get -y upgrade
23+
24+
# Install common dependencies
2125
apt-get -y install --no-install-recommends \
2226
git \
2327
openssh-client \

script-library/common-redhat.sh

+4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ if [ "$(id -u)" -ne 0 ]; then
1818
exit 1
1919
fi
2020

21+
# Update to latest versions of packages
22+
yum upgrade -y
23+
24+
# Install common dependencies
2125
yum install -y \
2226
git \
2327
openssh-clients \

0 commit comments

Comments
 (0)