Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:regataos
nvidia-driver-G06
kmp-postun.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kmp-postun.sh of Package nvidia-driver-G06
flavor=%1 if [ "$1" = 0 ] ; then # Avoid accidental removal of G<n+1> alternative (bnc#802624) if [ ! -f /usr/lib/nvidia/alternate-install-present-$flavor ]; then %{_sbindir}/update-alternatives --remove alternate-install-present /usr/lib/nvidia/alternate-install-present-$flavor # get rid of *all* nvidia kernel modules when uninstalling package (boo#1180010) for dir in $(find /lib/modules -mindepth 1 -maxdepth 1 -type d); do test -d $dir/updates && rm -f $dir/updates/nvidia*.ko # generate modules.dep, etc. to avoid dracut failures # later (boo#1213765) if [ -d $dir/kernel ]; then kversion=$(basename $dir) depmod $kversion fi done fi # cleanup of bnc# 1000625 rm -f /usr/lib/tmpfiles.d/nvidia-logind-acl-trick-G06.conf fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor