nvidia-driver-555/nvidia-graphics-drivers-555/debian/nvidia-kernel-support-555.postinst
Ward from fusion-voyager-3 4a1a0cf39a initial push
2024-07-24 04:35:16 +03:00

19 lines
472 B
Bash

#!/bin/sh
set -e
if [ "$1" = "configure" ]
then
if [ -f /etc/nvidia/current/nvidia-modprobe.conf.dpkg-old ] && [ ! -f /etc/nvidia/current/nvidia-modprobe.conf ]
then
# restore modprobe.conf erroneously obsoleted due to bugs in
# debhelper (#994919) and dpkg (#995387), causing #994971
mv -v /etc/nvidia/current/nvidia-modprobe.conf.dpkg-old /etc/nvidia/current/nvidia-modprobe.conf
dpkg-trigger --no-await register-nvidia-alternative
fi
fi
###DEBHELPER###