Skip to content

Commit 602a87f

Browse files
committed
PKG-1138 Build percona-toolkit on deb13
1 parent 0289a1a commit 602a87f

File tree

1 file changed

+5
-22
lines changed

1 file changed

+5
-22
lines changed

config/scripts/pt_builder.sh

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -240,28 +240,11 @@ install_deps() {
240240
export DEBIAN_VERSION=$(lsb_release -sc)
241241
export ARCH=$(echo $(uname -m) | sed -e 's:i686:i386:g')
242242
apt-get -y install gnupg2
243-
apt-get update || true
244-
ENV export DEBIAN_FRONTEND=noninteractive
245-
apt-get update
246-
if [ $DEBIAN_VERSION = buster ]; then
247-
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E98404D386FA1D9
248-
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6ED0E7B82643E131
249-
until DEBIAN_FRONTEND=noninteractive apt-get update --allow-releaseinfo-change; do
250-
echo "waiting"
251-
sleep 1
252-
done
253-
fi
254-
if [ $DEBIAN_VERSION = bionic -o $DEBIAN_VERSION = focal -o $DEBIAN_VERSION = bullseye -o $DEBIAN_VERSION = buster -o $DEBIAN_VERSION = bookworm -o $DEBIAN_VERSION = jammy -o $DEBIAN_VERSION = xenial -o $DEBIAN_VERSION = noble ]; then
255-
until apt-get update; do
256-
echo "waiting"
257-
sleep 1
258-
done
259-
DEBIAN_FRONTEND=noninteractive apt-get update
260-
until DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential devscripts debconf debhelper perl; do
261-
echo "waiting"
262-
sleep 1
263-
done
264-
fi
243+
DEBIAN_FRONTEND=noninteractive apt-get update
244+
until DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential devscripts debconf debhelper perl; do
245+
echo "waiting"
246+
sleep 1
247+
done
265248
install_go
266249
#update_pat
267250
fi

0 commit comments

Comments
 (0)