diff options
author | P. J. McDermott <pj@pehjota.net> | 2017-07-22 14:54:25 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2017-07-22 14:54:25 (EDT) |
commit | fa784c1df66b7f89c1fc1bdf76ff7bcae8e7fa83 (patch) | |
tree | 3c425972626a1cf35697c6b56065d459beb815c7 | |
parent | d024f67fc56275433a30c220aca6da0f49346c87 (diff) |
src/*.sh: Drop inclusion guards
-rw-r--r-- | src/cmd.sh | 3 | ||||
-rw-r--r-- | src/control.sh | 3 | ||||
-rw-r--r-- | src/db.sh | 3 | ||||
-rw-r--r-- | src/dir.sh | 3 | ||||
-rw-r--r-- | src/garbage.sh | 3 | ||||
-rw-r--r-- | src/include.sh | 3 | ||||
-rw-r--r-- | src/index.sh | 3 | ||||
-rw-r--r-- | src/locale.sh | 3 | ||||
-rw-r--r-- | src/output.sh | 3 | ||||
-rw-r--r-- | src/remove.sh | 3 | ||||
-rw-r--r-- | src/suite.sh | 3 |
11 files changed, 0 insertions, 33 deletions
@@ -17,9 +17,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -[ "x${_CMD_SM+set}" = 'xset' ] && return 0 -_CMD_SM=1 - cmds= load_cmds() diff --git a/src/control.sh b/src/control.sh index a49ea98..3fe00d4 100644 --- a/src/control.sh +++ b/src/control.sh @@ -17,9 +17,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -[ "x${_CONTROL_SM+set}" = 'xset' ] && return 0 -_CONTROL_SM=1 - control_file= control_line_nr= @@ -17,9 +17,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -[ "x${_DB_SM+set}" = 'xset' ] && return 0 -_DB_SM=1 - # # Functions for the suites indices # @@ -17,9 +17,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -[ "x${_DIR_SM+set}" = 'xset' ] && return 0 -_DIR_SM=1 - hash_name() { local name="${1}" diff --git a/src/garbage.sh b/src/garbage.sh index 1af64bd..0cf8afe 100644 --- a/src/garbage.sh +++ b/src/garbage.sh @@ -17,9 +17,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -[ "x${_GARBAGE_SM+set}" = 'xset' ] && return 0 -_GARBAGE_SM=1 - collect_garbage() { local cur_time= diff --git a/src/include.sh b/src/include.sh index 14476ee..e83b41d 100644 --- a/src/include.sh +++ b/src/include.sh @@ -17,9 +17,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -[ "x${_INCLUDE_SM+set}" = 'xset' ] && return 0 -_INCLUDE_SM=1 - _INCLUDE_CHANGES_FIELDS='Format Source Binary Version Architecture Platform Distribution Maintainer Changed-By Date Description Changes Files' diff --git a/src/index.sh b/src/index.sh index 13d206b..a975e7c 100644 --- a/src/index.sh +++ b/src/index.sh @@ -17,9 +17,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -[ "x${_INDEX_SM+set}" = 'xset' ] && return 0 -_INDEX_SM=1 - feed_add_package() { local chan="${1}" diff --git a/src/locale.sh b/src/locale.sh index e3949a6..f7cc0a5 100644 --- a/src/locale.sh +++ b/src/locale.sh @@ -17,9 +17,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -[ "x${_LOCALE_SM+set}" = 'xset' ] && return 0 -_LOCALE_SM=1 - DEFAULT_LOCALE='en_US' load_locale() diff --git a/src/output.sh b/src/output.sh index d3d150f..da3a7d5 100644 --- a/src/output.sh +++ b/src/output.sh @@ -17,9 +17,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -[ "x${_OUTPUT_SM+set}" = 'xset' ] && return 0 -_OUTPUT_SM=1 - error() { local status=${1} diff --git a/src/remove.sh b/src/remove.sh index 1cd6431..b580b1b 100644 --- a/src/remove.sh +++ b/src/remove.sh @@ -17,9 +17,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -[ "x${_REMOVE_SM+set}" = 'xset' ] && return 0 -_REMOVE_SM=1 - remove_source_from_suite() { local chan="${1}" diff --git a/src/suite.sh b/src/suite.sh index 5d00914..da4a02d 100644 --- a/src/suite.sh +++ b/src/suite.sh @@ -17,9 +17,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -[ "x${_SUITE_SM+set}" = 'xset' ] && return 0 -_SUITE_SM=1 - copy_suite() { local src_chan="${1}" |