diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-10-27 09:07:37 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-10-27 09:07:37 +0000 |
commit | 7d68a7f2eac24a9fc1d53f75443db25328af991d (patch) | |
tree | f41b49ea40165be21d76b4fd42de0e538df9796f /main/busybox/busybox.trigger | |
parent | 51e88757d944832beadb24398ca7f50a8cac5ee3 (diff) | |
download | aports-7d68a7f2eac24a9fc1d53f75443db25328af991d.tar.bz2 aports-7d68a7f2eac24a9fc1d53f75443db25328af991d.tar.xz |
main/busybox: fix for sort, don't depmod on kernel removal
Diffstat (limited to 'main/busybox/busybox.trigger')
-rw-r--r-- | main/busybox/busybox.trigger | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/main/busybox/busybox.trigger b/main/busybox/busybox.trigger index 8bdef2ba56..2f69f76ceb 100644 --- a/main/busybox/busybox.trigger +++ b/main/busybox/busybox.trigger @@ -4,7 +4,11 @@ do_bb_install= for i in "$@"; do case "$i" in - /lib/modules/*) /bin/busybox depmod ${i#/lib/modules/};; + /lib/modules/*) + if [ -d "$i" ]; then + /bin/busybox depmod ${i#/lib/modules/} + fi + ;; *) do_bb_install=yes;; esac done |