Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wkazubski:G03
nvidia-gfxG04
kmp-preun.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kmp-preun.sh of Package nvidia-gfxG04
flavor=%1 %if (0%{?sle_version} >= 150200 || 0%{?suse_version} >= 1550) # remove MOK key if [ -x /usr/bin/mokutil ]; then pubkeydir=/var/lib/nvidia-pubkeys pubkey=$pubkeydir/MOK-%{name}-%{-v*}-%{-r*}-$flavor.der if [ $1 -eq 1 ] && [ -f $pubkey.delete ]; then # Special case: reinstall of the same pkg version. # In this case the file name is the same for old and new package, # but the key is different. mokutil --delete for the old key # was called during post already. rm -f $pubkey.delete elif [ -f $pubkey ]; then mokutil --delete $pubkey --root-pw fi fi %endif
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