diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/conf.sh.in | 24 | ||||
-rwxr-xr-x | src/lib/libreblacklist | 24 | ||||
-rwxr-xr-x | src/lib/librelib | 24 | ||||
-rwxr-xr-x | src/lib/libremessages | 2 | ||||
-rwxr-xr-x | src/lib/librexgettext | 24 |
5 files changed, 50 insertions, 48 deletions
diff --git a/src/lib/conf.sh.in b/src/lib/conf.sh.in index 18b2a5b..9bdb2cc 100644 --- a/src/lib/conf.sh.in +++ b/src/lib/conf.sh.in @@ -1,22 +1,22 @@ #!/usr/bin/env bash # non-executable, but put this there as a hint to text editors # This may be included with or without `set -euE` -# Copyright (C) 2012-2014 Luke Shumaker <lukeshu@sbcglobal.net> +# Copyright (C) 2012-2014 Luke Shumaker <lukeshu@sbcglobal.net> # -# License: GNU GPLv2+ +# License: GNU GPLv2+ # -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. LIBREUSER="${SUDO_USER:-$USER}" if [[ $LIBREUSER == $USER ]]; then diff --git a/src/lib/libreblacklist b/src/lib/libreblacklist index 484c536..5eaec4e 100755 --- a/src/lib/libreblacklist +++ b/src/lib/libreblacklist @@ -2,22 +2,22 @@ # This may be included with or without `set -euE` # When run directly, it does `set -euE` -# Copyright (C) 2013-2014 Luke Shumaker <lukeshu@sbcglobal.net> +# Copyright (C) 2013-2014 Luke Shumaker <lukeshu@sbcglobal.net> # -# License: GNU GPLv2+ +# License: GNU GPLv2+ # -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. # make sure XDG_CACHE_HOME is set . "$(librelib conf)" diff --git a/src/lib/librelib b/src/lib/librelib index faeb267..3d7795c 100755 --- a/src/lib/librelib +++ b/src/lib/librelib @@ -1,20 +1,20 @@ #!/usr/bin/env bash -# Copyright (C) 2013-2014 Luke Shumaker <lukeshu@sbcglobal.net> +# Copyright (C) 2013-2014 Luke Shumaker <lukeshu@sbcglobal.net> # -# License: GNU GPLv2+ +# License: GNU GPLv2+ # -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. default_libdir=/usr/lib/libretools diff --git a/src/lib/libremessages b/src/lib/libremessages index 429a997..93e6b86 100755 --- a/src/lib/libremessages +++ b/src/lib/libremessages @@ -145,6 +145,8 @@ term_title() { # ${handler} SIGNAL_NAME MESSAGE_FMT [MESSAGE_PARAMS...] # # where MESSAGE_* are printf-like stuff. +# +# This function is based on code from pacman:makepkg setup_traps() { [[ $# -le 1 ]] || panic if [[ $# == 1 ]]; then diff --git a/src/lib/librexgettext b/src/lib/librexgettext index 3bee937..0732f81 100755 --- a/src/lib/librexgettext +++ b/src/lib/librexgettext @@ -1,20 +1,20 @@ #!/usr/bin/env bash -# Copyright (C) 2013-2014 Luke Shumaker <lukeshu@sbcglobal.net> +# Copyright (C) 2013-2014 Luke Shumaker <lukeshu@sbcglobal.net> # -# License: GNU GPLv2+ +# License: GNU GPLv2+ # -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. export TEXTDOMAIN='librelib' export TEXTDOMAINDIR='/usr/share/locale' |