mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-12-05 02:25:22 +00:00
8a56671d18
Signed-off-by: Evan Lezar <elezar@nvidia.com>
25 lines
456 B
Bash
25 lines
456 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
NVIDIA_CONTAINER_RUNTIME_HOOK=/usr/bin/nvidia-container-runtime-hook
|
|
NVIDIA_CONTAINER_TOOLKIT=/usr/bin/nvidia-container-toolkit
|
|
|
|
case "$1" in
|
|
purge)
|
|
[ -L "${NVIDIA_CONTAINER_TOOLKIT}" ] && rm ${NVIDIA_CONTAINER_TOOLKIT}
|
|
;;
|
|
|
|
upgrade|failed-upgrade|remove|abort-install|abort-upgrade|disappear)
|
|
;;
|
|
|
|
*)
|
|
echo "postrm called with unknown argument \`$1'" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|