projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b9f1a7f
)
Adjusting to live-initramfs.
author
Daniel Baumann
<daniel@debian.org>
Mon, 8 Oct 2007 22:34:00 +0000
(
00:34
+0200)
committer
Daniel Baumann
<daniel@debian.org>
Wed, 9 Mar 2011 16:31:06 +0000
(17:31 +0100)
scripts/live-premount/10driver_updates
patch
|
blob
|
history
diff --git
a/scripts/live-premount/10driver_updates
b/scripts/live-premount/10driver_updates
index
3ad9ef6
..
eda8bbf
100755
(executable)
--- a/
scripts/live-premount/10driver_updates
+++ b/
scripts/live-premount/10driver_updates
@@
-41,12
+41,16
@@
is_updates_path ()
# kernel flavour.
path=${1}
# kernel flavour.
path=${1}
- abi="$(uname -r)"
- kver="$(echo "$abi" | cut -d- -f1,2)"
- kbase="$(echo "$abi" | cut -d- -f1)"
- for leaf in "$abi" "$kver" "$kbase"; do
- update_dir="$path/ubuntu-drivers/$leaf"
- [ -d "$update_dir" ] || continue
+ abi="$(uname -r)"
+ kver="$(echo "$abi" | cut -d- -f1,2)"
+ kbase="$(echo "$abi" | cut -d- -f1)"
+
+ for leaf in "$abi" "$kver" "$kbase"
+ do
+ update_dir="$path/ubuntu-drivers/$leaf"
+
+ [ -d "$update_dir" ] || continue
+
if [ "$(echo ${update_dir}/*_${DPKG_ARCH}.deb)" != \
"${update_dir}/*_${DPKG_ARCH}.deb" ]
then
if [ "$(echo ${update_dir}/*_${DPKG_ARCH}.deb)" != \
"${update_dir}/*_${DPKG_ARCH}.deb" ]
then
@@
-55,7
+59,7
@@
is_updates_path ()
fi
done
fi
done
- return 1
;
+ return 1
}
is_nice_device ()
}
is_nice_device ()