From b1d62938f81f41bfe84dca26de9edc0f91c11996 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Wed, 10 May 2006 02:56:28 +0000 Subject: udev: remove extra copy of ieee1394 init/usb/fs: modify rootdelay handling filesystems: additional error checking, handing for numeric root devices mkinitcpio: remove /tmp modules directory if used git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@90 880c04e9-e011-0410-abf7-b926e227c9cd --- mkinitcpio | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mkinitcpio') diff --git a/mkinitcpio b/mkinitcpio index 6a677e3..af72ca7 100644 --- a/mkinitcpio +++ b/mkinitcpio @@ -138,12 +138,13 @@ done if [ "${HAS_MODULES}" == "y" ]; then echo ":: Generating module dependancies" - [ -e /tmp${MODULEDIR}/ ] && rm -r /tmp${MODULEDIR}/ + [ -e /tmp${MODULEDIR}/ ] && rm -rf /tmp${MODULEDIR}/ cp --parents $(grep "file /lib/modules" ${FILELIST} | awk '{print $2}') /tmp/ depmod -b /tmp ${KERNELVERSION} add_file /tmp${MODULEDIR}/modules.dep ${MODULEDIR}/modules.dep add_file /tmp${MODULEDIR}/modules.alias ${MODULEDIR}/modules.alias add_file /tmp${MODULEDIR}/modules.symbols ${MODULEDIR}/modules.symbols + rm -rf /tmp${MODULEDIR}/ fi if [ "x$GENIMG" != "x" ]; then -- cgit v1.2.3-24-g4f1b