Whamcloud - gitweb
LU-12019 build: remove global depmod.d conf from debs
[fs/lustre-release.git] / debian / postrm
index eae5bbc..1f6241f 100755 (executable)
@@ -9,11 +9,4 @@
 # Script run before Lustre module/utils are removed
 #
 
-DEPMOD_DIR="/etc/depmod.d"
-LUSTRE_DEPMOD_FILE="${DEPMOD_DIR}/lustre.conf"
-
-[ -e ${LUSTRE_DEPMOD_FILE} ] && { rm -f ${LUSTRE_DEPMOD_FILE}; }
-# If DEPMOD_DIR is empty, we also created it, thus remove it.
-[ ! "$(ls -A ${DEPMOD_DIR} 2>/dev/null)" ] && { rm -rf ${DEPMOD_DIR}; }
-
 depmod -a