summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-11-15 21:53:08 +0100
committerDaniel Baumann <daniel@debian.org>2009-11-22 14:38:36 +0100
commit5f7d15bc3d761924cc9aa7f84bfa1eea9681d0cf (patch)
treedea606ba3f1d24163b14a282d6a7ab3ba89daae7
parentfbad988b41c31307782695eb8926a1c8b90929cb (diff)
downloadvyos-live-build-5f7d15bc3d761924cc9aa7f84bfa1eea9681d0cf.tar.gz
vyos-live-build-5f7d15bc3d761924cc9aa7f84bfa1eea9681d0cf.zip
Removing legacy function for dashed commands.
-rwxr-xr-xfunctions/legacy.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/functions/legacy.sh b/functions/legacy.sh
deleted file mode 100755
index 422c20d38..000000000
--- a/functions/legacy.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-# legacy.sh - handle live-helper 2.x warnigns
-# Copyright (C) 2006-2009 Daniel Baumann <daniel@debian.org>
-#
-# live-helper comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
-# This is free software, and you are welcome to redistribute it
-# under certain conditions; see COPYING for details.
-
-# Obsoleting 'lh_foo_bar' calls in favour for 'lh foo_bar'
-
-BASENAME="$(basename ${0})"
-
-if [ -z "${LH}" ] && [ "$(echo ${BASENAME} | awk '{ print $1 }')" != "lh" ]
-then
- Echo_warning "live-helper 2.0 will deprecate all dashed forms of commands."
- Echo_warning "Please use \'$(echo ${BASENAME} | sed -e 's|lh_|lh |')\' instead of \'${BASENAME}\'."
-fi