diff options
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/common.sh | 2 | ||||
-rwxr-xr-x | functions/defaults.sh | 8 | ||||
-rwxr-xr-x | functions/legacy.sh | 18 |
3 files changed, 5 insertions, 23 deletions
diff --git a/functions/common.sh b/functions/common.sh index 2be9e54..184ebe0 100755 --- a/functions/common.sh +++ b/functions/common.sh @@ -9,7 +9,7 @@ PROGRAM="$(basename ${0})" PACKAGE="live-helper" -VERSION="1.0.6-1" +VERSION="2.0~a1-1" CONFIG_VERSION="$(echo ${VERSION} | awk -F- '{ print $1 }')" PATH="${PWD}/scripts:${PATH}" diff --git a/functions/defaults.sh b/functions/defaults.sh index 399c582..30cdfc6 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -405,16 +405,16 @@ Set_defaults () esac fi - # Setting categories value - if [ -z "${LH_CATEGORIES}" ] + # Setting archive areas value + if [ -z "${LH_ARCHIVE_AREAS}" ] then case "${LH_MODE}" in ubuntu) - LH_CATEGORIES="main restricted" + LH_ARCHIVE_AREAS="main restricted" ;; *) - LH_CATEGORIES="main" + LH_ARCHIVE_AREAS="main" ;; esac fi diff --git a/functions/legacy.sh b/functions/legacy.sh deleted file mode 100755 index 422c20d..0000000 --- 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 |