Whamcloud - gitweb
LU-9539 kernel: kernel update [SLES12 SP1 3.12.74-60.64.40]
[fs/lustre-release.git] / debian / postinst
1 #!/bin/sh
2
3 DEPMOD_DIR="/etc/depmod.d"
4 LUSTRE_DEPMOD_FILE="${DEPMOD_DIR}/lustre.conf"
5
6 [ ! -d ${DEPMOD_DIR} ] && { mkdir -p ${DEPMOD_DIR}; }
7 [ ! -e ${LUSTRE_DEPMOD_FILE} ] && { echo "search updates built-in" > ${LUSTRE_DEPMOD_FILE}; }
8
9 depmod -a