mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-30 00:11:59 +00:00
fa7dc8cb31
This change ensures that at least the same libnvidia-container-tools version is required when installing nvidia-container-toolkit. Signed-off-by: Evan Lezar <elezar@nvidia.com>
11 lines
285 B
Bash
Executable File
11 lines
285 B
Bash
Executable File
#! /bin/bash
|
|
|
|
set -e
|
|
|
|
sed -i "s;@SECTION@;${SECTION:+$SECTION/};g" debian/control
|
|
sed -i "s;@LIBNVIDIA_CONTAINER_VERSION@;${LIBNVIDIA_CONTAINER_VERSION:+$LIBNVIDIA_CONTAINER_VERSION};g" debian/control
|
|
|
|
if [ -n "$DISTRIB" ]; then
|
|
sed -i "s;UNRELEASED;$DISTRIB;" debian/changelog
|
|
fi
|