[arch-commits] CVS update of extra/network/iwlwifi-ck (iwlwifi.install)
Eric Belanger
eric at archlinux.org
Sat Jul 28 04:40:08 UTC 2007
Date: Saturday, July 28, 2007 @ 00:40:08
Author: eric
Path: /home/cvs-extra/extra/network/iwlwifi-ck
Added: iwlwifi.install (1.1)
upgpkg: iwlwifi-ck 0.0.42-1
committed missing .install file
-----------------+
iwlwifi.install | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Index: extra/network/iwlwifi-ck/iwlwifi.install
diff -u /dev/null extra/network/iwlwifi-ck/iwlwifi.install:1.1
--- /dev/null Sat Jul 28 00:40:07 2007
+++ extra/network/iwlwifi-ck/iwlwifi.install Sat Jul 28 00:40:07 2007
@@ -0,0 +1,36 @@
+# arg 1: the new package version
+post_install()
+{
+ KERNEL_VERSION='2.6.22-ck'
+ depmod -v $KERNEL_VERSION > /dev/null 2>&1
+
+ echo
+ echo "To use the iwlwifi driver, you have to install the right firmware package:"
+ echo " - iwlwifi-3945-ucode for Intel Pro Wireless 3945ABG"
+ echo " - iwlwifi-4965-ucode for Intel Pro Wireless 4965AGN"
+ echo
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade()
+{
+ KERNEL_VERSION='2.6.22-ck'
+ depmod -v $KERNEL_VERSION > /dev/null 2>&1
+ /bin/true
+}
+
+# arg 1: the old package version
+post_remove()
+{
+ KERNEL_VERSION='2.6.22-ck'
+ depmod -v $KERNEL_VERSION > /dev/null 2>&1
+
+ /bin/true
+}
+
+op=$1
+shift
+
+$op $*
More information about the arch-commits
mailing list