diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-03-19 06:38:09 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-03-19 06:38:09 +0000 |
commit | b22d49ea434d3cd9f8c97735bcdb9b7df6796129 (patch) | |
tree | 428949a91209ca9cd2215b2116e9fc1e397d3125 /sys-apps | |
parent | (Development) version bump. (diff) | |
download | gentoo-2-b22d49ea434d3cd9f8c97735bcdb9b7df6796129.tar.gz gentoo-2-b22d49ea434d3cd9f8c97735bcdb9b7df6796129.tar.bz2 gentoo-2-b22d49ea434d3cd9f8c97735bcdb9b7df6796129.zip |
if modules.d is empty, dont whine
(Portage version: 2.2_pre2)
Diffstat (limited to 'sys-apps')
-rwxr-xr-x | sys-apps/module-init-tools/files/update-modules-3.4.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-apps/module-init-tools/files/update-modules-3.4.sh b/sys-apps/module-init-tools/files/update-modules-3.4.sh index b41b579a899f..34b7950fe6fc 100755 --- a/sys-apps/module-init-tools/files/update-modules-3.4.sh +++ b/sys-apps/module-init-tools/files/update-modules-3.4.sh @@ -52,7 +52,7 @@ while [ -n "$1" ] ; do -f|--force|force) FORCE="true";; -v|--verbose) ((VERBOSE+=1));; -d|--debug) ((DEBUG+=1));; - -V|--version) exec echo "${argv0}: $Revision: 1.1 $ $Date: 2008/03/19 02:09:10 $";; + -V|--version) exec echo "${argv0}: $Revision: 1.2 $ $Date: 2008/03/19 06:38:09 $";; -h|--help) cat <<-EOF Usage: update-modules [options] @@ -308,6 +308,7 @@ else case ${f##*/} in aliases|i386) continue;; esac + [ -e "${f}" ] || continue if [ ! -e "./etc/modprobe.d/${f##*/}" ] ; then ewarn "Please file a bug about ${f#.}: it needs an /etc/modprobe.d/${f##*/}" fi |