package-pipelines-miscellan.../linux-diversion-ath-regd-optional/debian/preinst

8 lines
280 B
Text
Raw Permalink Normal View History

2023-12-05 23:40:22 +01:00
#!/bin/sh
set -e
dpkg-divert --package linux-diversion-__DEB_VERSION__-ath-regd-optional --add --rename --divert \
/lib/modules/__DEB_VERSION__-amd64/kernel/drivers/net/wireless/ath/ath.ko.orig \
/lib/modules/__DEB_VERSION__-amd64/kernel/drivers/net/wireless/ath/ath.ko