Deleted Added
full compact
categories.subr (250537) categories.subr (250539)
1if [ ! "$_PACKAGES_CATEGORIES_SUBR" ]; then _PACKAGES_CATEGORIES_SUBR=1
2#
3# Copyright (c) 2013 Devin Teske
4# All Rights Reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions
8# are met:

--- 10 unchanged lines hidden (view full) ---

19# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20# DAMAGES (INLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25# SUCH DAMAGE.
26#
1if [ ! "$_PACKAGES_CATEGORIES_SUBR" ]; then _PACKAGES_CATEGORIES_SUBR=1
2#
3# Copyright (c) 2013 Devin Teske
4# All Rights Reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions
8# are met:

--- 10 unchanged lines hidden (view full) ---

19# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20# DAMAGES (INLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25# SUCH DAMAGE.
26#
27# $FreeBSD: head/usr.sbin/bsdconfig/share/packages/categories.subr 250537 2013-05-12 00:44:40Z dteske $
27# $FreeBSD: head/usr.sbin/bsdconfig/share/packages/categories.subr 250539 2013-05-12 00:50:18Z dteske $
28#
29############################################################ INCLUDES
30
31BSDCFG_SHARE="/usr/share/bsdconfig"
32. $BSDCFG_SHARE/common.subr || exit 1
33f_dprintf "%s: loading includes..." packages/categories.subr
34f_include $BSDCFG_SHARE/strings.subr
35

--- 59 unchanged lines hidden (view full) ---

95 export "_category_$varcat"
96 return $SUCCESS
97}
98
99############################################################ MAIN
100
101#
102# Load descriptions for package categories. Note that we don't internationalize
28#
29############################################################ INCLUDES
30
31BSDCFG_SHARE="/usr/share/bsdconfig"
32. $BSDCFG_SHARE/common.subr || exit 1
33f_dprintf "%s: loading includes..." packages/categories.subr
34f_include $BSDCFG_SHARE/strings.subr
35

--- 59 unchanged lines hidden (view full) ---

95 export "_category_$varcat"
96 return $SUCCESS
97}
98
99############################################################ MAIN
100
101#
102# Load descriptions for package categories. Note that we don't internationalize
103# category names because this would be confusing for people used to that browse
103# category names because this would be confusing for people used to browsing
104# the FTP mirrors or are otherwise familiar with an interface that does not
105# provide internationalized names. The descriptions can be used to provide i18n
106# users a description of the non-i18n category name.
107#
108f_category() { f_category_desc_set "$1" "$2"; }
109f_category All "$msg_all_desc"
110f_category accessibility "$msg_accessibility_desc"
111f_category afterstep "$msg_afterstep_desc"

--- 96 unchanged lines hidden ---
104# the FTP mirrors or are otherwise familiar with an interface that does not
105# provide internationalized names. The descriptions can be used to provide i18n
106# users a description of the non-i18n category name.
107#
108f_category() { f_category_desc_set "$1" "$2"; }
109f_category All "$msg_all_desc"
110f_category accessibility "$msg_accessibility_desc"
111f_category afterstep "$msg_afterstep_desc"

--- 96 unchanged lines hidden ---