continents.subr (e477abf734cc777a55286bfbd6b80a6760c96acf) continents.subr (56961fd7949de755f95a60fe8ac936f81e953f5b)
1if [ ! "$_TIMEZONE_CONTINENTS_SUBR" ]; then _TIMEZONE_CONTINENTS_SUBR=1
2#
3# Copyright (c) 2011-2012 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:

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

25# SUCH DAMAGE.
26#
27# $FreeBSD$
28#
29############################################################ INCLUDES
30
31BSDCFG_SHARE="/usr/share/bsdconfig"
32. $BSDCFG_SHARE/common.subr || exit 1
1if [ ! "$_TIMEZONE_CONTINENTS_SUBR" ]; then _TIMEZONE_CONTINENTS_SUBR=1
2#
3# Copyright (c) 2011-2012 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:

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

25# SUCH DAMAGE.
26#
27# $FreeBSD$
28#
29############################################################ INCLUDES
30
31BSDCFG_SHARE="/usr/share/bsdconfig"
32. $BSDCFG_SHARE/common.subr || exit 1
33f_dprintf "%s: loading includes..." timezone/continents.subr
33
34BSDCFG_LIBE="/usr/libexec/bsdconfig" APP_DIR="090.timezone"
35f_include_lang $BSDCFG_LIBE/$APP_DIR/include/messages.subr
36
37############################################################ CONFIGURATION
38
39#
40# List of worldly continents/oceans (export'ed for awk(1) ENVIRON visibility)

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

130f_OCEANP()
131{
132 case "$1" in
133 arctic|atlantic|indian|pacific)
134 echo 1
135 esac
136}
137
34
35BSDCFG_LIBE="/usr/libexec/bsdconfig" APP_DIR="090.timezone"
36f_include_lang $BSDCFG_LIBE/$APP_DIR/include/messages.subr
37
38############################################################ CONFIGURATION
39
40#
41# List of worldly continents/oceans (export'ed for awk(1) ENVIRON visibility)

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

131f_OCEANP()
132{
133 case "$1" in
134 arctic|atlantic|indian|pacific)
135 echo 1
136 esac
137}
138
139############################################################ MAIN
140
141f_dprintf "%s: Successfully loaded." timezone/continents.subr
142
138fi # ! $_TIMEZONE_CONTINENTS_SUBR
143fi # ! $_TIMEZONE_CONTINENTS_SUBR