/etc/zsh/zshrc: add check regarding get_twi_cl->get_3ware 0.2.44
authorMichael Prokop <mika@grml.org>
Sat, 14 Apr 2007 09:06:45 +0000 (11:06 +0200)
committerMichael Prokop <mika@grml.org>
Sat, 14 Apr 2007 09:06:45 +0000 (11:06 +0200)
debian/changelog
etc/zsh/zshrc

index 0cb4e57..dfd2334 100644 (file)
@@ -1,3 +1,10 @@
+grml-etc-core (0.2.44) unstable; urgency=low
+
+  * /etc/zsh/zshrc: add check regarding get_twi_cl->get_3ware
+    change.
+
+ -- Michael Prokop <mika@grml.org>  Sat, 14 Apr 2007 11:06:12 +0200
+
 grml-etc-core (0.2.43) unstable; urgency=low
 
   * /etc/zsh/zshrc:
index a4adfdd..710c1ad 100644 (file)
@@ -3,7 +3,7 @@
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2.
-# Latest change: Sam Mär 17 20:12:26 CET 2007 [mika]
+# Latest change: Sam Apr 14 11:01:58 CEST 2007 [mika]
 ################################################################################
 # This file is sourced only for interactive shells. It
 # should contain commands to set up aliases, functions,
@@ -724,6 +724,13 @@ Please use the wodim binary instead' ; return 1"
      fi
   fi
 
+# get_tw_cli has been renamed into get_3ware
+  if [ -x /usr/bin/get_3ware ] ; then
+     get_tw_cli() {
+       echo 'Warning: get_tw_cli has been renamed into get_3ware. Invoking get_3ware for you.'>&2
+       get_3ware
+  fi
+
 # I hate lacking backward compability, so provide an alternative therefore
   if ! [ -x /usr/sbin/apache2-ssl-certificate ] ; then
    function apache2-ssl-certificate(){