Added call to update-pciids to download the latest pci.ids file.
authorChris Gianelloni <wolf31o2@gentoo.org>
Thu, 23 Jun 2005 19:11:32 +0000 (19:11 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Thu, 23 Jun 2005 19:11:32 +0000 (19:11 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@711 d1e1f19c-881f-0410-ab34-b69fee027534

targets/support/livecdfs-update.sh

index eb3dc5f1dc438687de66ddb85d60772ad835ee0c..115173ae686ab7fc36d3a5d3887ee8333ac503fd 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/bash
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/support/livecdfs-update.sh,v 1.16 2005/06/22 13:29:13 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/support/livecdfs-update.sh,v 1.17 2005/06/23 19:11:32 wolf31o2 Exp $
 
 . /tmp/chroot-functions.sh
 update_env_settings
@@ -108,6 +108,7 @@ echo "alias ls='ls --color=auto'" >> /etc/profile
 echo "alias grep='grep --color=auto'" >> /etc/profile
 
 # make sure we have the latest pci and hotplug ids
+[ -x /sbin/update-pciids ] && /sbin/update-pciids
 if [ -d /usr/share/hwdata ]
 then
        [ -f /usr/share/hwdata/pci.ids ] && rm -f /usr/share/hwdata/pci.ids