From cd7805eb94797ce4c6cca70777207bad15773821 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sat, 14 Apr 2007 11:06:45 +0200 Subject: [PATCH] /etc/zsh/zshrc: add check regarding get_twi_cl->get_3ware --- debian/changelog | 7 +++++++ etc/zsh/zshrc | 9 ++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 0cb4e57..dfd2334 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Sat, 14 Apr 2007 11:06:12 +0200 + grml-etc-core (0.2.43) unstable; urgency=low * /etc/zsh/zshrc: diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index a4adfdd..710c1ad 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -3,7 +3,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # 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(){ -- 2.1.4