1
0
forked from pool/kernel-source
kernel-source/preun.sh

5 lines
138 B
Bash
Raw Normal View History

if [ @BASE_PACKAGE@ = 0 ]; then
nvr=@SUBPACKAGE@-@RPM_VERSION_RELEASE@
rpm -ql $nvr | grep '\.ko$' > /var/run/rpm-$nvr-modules
fi