#! /bin/sh

set -e

case "$1" in
    remove|purge)
        echo Removing alternatives
        update-alternatives --remove cufile.json /usr/local/cuda-12.6/gds/cufile.json
        ldconfig
        ;;
esac


