Files
kmod/SNAP/usher
Jay Larson 9163845c19 The following changes were made:
* Added REPO
  * Moved usher from bash to /bin/sh
  * Removed TARGET from usher
2018-03-27 09:24:25 -05:00

25 lines
383 B
Bash
Executable File

#!/bin/sh
set -e
case $1 in
preinst)
exit 0
;;
postinst)
if [ ! -f /etc/modprobe.d/blacklist.conf ]; then
cp /usr/share/kmod/blacklist.conf /etc/modprobe.d/blacklist.conf
fi
if [ ! -f /etc/modprobe.d/usb.conf ]; then
cp /usr/share/kmod/usb.conf /etc/modprobe.d/usb.conf
fi
;;
prerm)
exit 0
;;
postrm)
exit 0
;;
esac