fix all lintian errors

parent c8397c77
......@@ -4,13 +4,13 @@ Priority: extra
Maintainer: Christopher Roy Bratusek <nano@tuxfamily.org>
Build-Depends: debhelper (>= 5),
autotools-dev,
sed,
grep,
make,
ncurses-bin,
sed (>= 4.2.1),
grep (>= 2.12),
make (>= 3.80),
ncurses-bin (>= 5.9),
bash (>= 3.2),
gawk,
debianutils,
debianutils (>= 4.3.2),
python (>= 2.4),
python-gi | python3-gi,
python-configobj,
......@@ -23,10 +23,10 @@ Depends: bash (>= 3.2),
bc,
procps,
gawk,
grep,
grep (>= 2.12),
python (>= 2.4) | python3,
python-gi | python3-gi,
sed,
sed (>= 4.2.1),
less,
libgtk-3-bin,
whiptail,
......@@ -46,11 +46,11 @@ Description: Graphical tool and toolchain for Bash
the behaviour and look'n'feel of Bash, Readline, Vim and Nano
.
Furthermore you can:
- create your own prompt
- define up to 9 aliases
- get colored manpages [without using most(!)]
- choose between 12 pre-defined prompts
- trip out when seeing your new prompt
- change the colors of ls and grep output
- store your own customizations in $HOME/.custom-rc
- and much more!
- create your own prompt
- define up to 9 aliases
- get colored manpages [without using most]
- choose between 12 pre-defined prompts
- trip out when seeing your new prompt
- change the colors of ls and grep output
- store your own customizations in $HOME/.custom-rc
- and much more
This package was debianized by Christopher Roy Bratusek <nano@tuxfamily.org> on
Fri, 28 Mar 2008 18:13:41 +0100.
It was downloaded from <http://www.nanolx.org/bashstyle-ng>
Upstream Author(s):
Christopher Roy Bratusek <nano@tuxfamily.org>
Copyright:
Copyright (C) 2007 - 2013 Christohper Roy Bratusek <nano@tuxfamily.org>
License for the code:
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: bashstyle-ng
Upstream-Contact: Christopher Roy Bratusek <nano@tuxfamily.org>
Source: http://www.nanolx.org/newsnanolx/bashstyle-ng
Files: *
Copyright: 2007-2013 Christopher Roy Bratusek <nano@tuxfamily.org>
License: GPL-3
This package 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 3 of the License, or
(at your option) any later version.
.
This package 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 package; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
.
On Debian systems, the full text of the GNU General Public License
version 3 can be found in `/usr/share/common-licenses/GPL-3'.
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL'.
License for the icons and the undobuffer python module:
Files: data/icons/*.png
Copyright: 2007 Nuno Pinheiro <nuno@oxygen-icons.org>
2007 David Vignoni <david@icon-king.com>
2007 David Miller <miller@oxygen-icons.org>
2007 Johann Ollivier Lapeyre <johann@oxygen-icons.org>
2007 Kenneth Wimer <kwwii@bootsplash.org>
2007 Riccardo Iaconelli <riccardo@oxygen-icons.org>
License: LGPL-3
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later version.
.
This library 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
Lesser General Public License for more details.
.
You should have received a copy of the GNU Lesser General Public
License along with this library. If not, see <http://www.gnu.org/licenses/>.
.
Clarification:
.
The GNU Lesser General Public License or LGPL is written for
software libraries in the first place. We expressly want the LGPL to
be valid for this artwork library too.
.
KDE Oxygen theme icons is a special kind of software library, it is an
artwork library, it's elements can be used in a Graphical User Interface, or
GUI.
.
Source code, for this library means:
- where they exist, SVG;
- otherwise, if applicable, the multi-layered formats xcf or psd, or
otherwise png.
.
The LGPL in some sections obliges you to make the files carry
notices. With images this is in some cases impossible or hardly useful.
.
With this library a notice is placed at a prominent place in the directory
containing the elements. You may follow this practice.
.
The exception in section 5 of the GNU Lesser General Public License covers
the use of elements of this art library in a GUI.
.
On Debian systems, the complete text of the GNU Lesser General Public
License version 3 can be found in /usr/share/common-licenses/LGPL-3
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This package 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 Lesser General Public License for more details.
You should have received a copy of the GNU General Public License
along with this package; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
On Debian systems, the complete text of the GNU Lesser General
Public License can be found in `/usr/share/common-licenses/LGPL'.
Files: ui/undobuffer.py
Copyright: 2009 Florian Heinle <github@planet-tiax.de>
License: LGPL-3
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later version.
.
This library 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
Lesser General Public License for more details.
.
You should have received a copy of the GNU Lesser General Public
License along with this library. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU Lesser General Public
License version 3 can be found in /usr/share/common-licenses/LGPL-3
The Debian packaging is (C) 2007 - 2013, Christopher Roy Bratusek <nano@tuxfamily.org> and
is licensed under the GPL, see above.
The Debian packaging is (C) 2007-2013 by Christopher Roy Bratusek and
is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
......@@ -11,102 +11,104 @@
if [[ -e $HOME/.nanorc && ( ! -w $HOME/.nanorc || ! -r $HOME/.nanorc ) ]]; then
ERR_MSG+="\n * $HOME/.nanorc is not fully acccessible! -- adjust permissions."
elif [[ ! -e $HOME/.nanorc.bs-ng.* ]]; then
elif [[ ! -e $HOME/.nanorc.bs-ng.* ]]; then
export RC_FILE=$HOME/.nanorc.bs-ng.$(date +%I-%M-%S)
if [[ $(ini_get auto_indent) == True ]]; then
dbg_msg $"NanoCFG Setting:" $"Auto-Indention" $"On"
rc_add "set autoindent"
else
dbg_msg $"NanoCFG Setting:" $"Auto-Indention" $"Off"
rc_add "unset autoindent"
fi
if [[ $(ini_get nano_backup) == True ]]; then
dbg_msg $"NanoCFG Setting:" $"Autosave" $"On"
rc_add "set backup"
else
dbg_msg $"NanoCFG Setting:" $"Autosave" $"Off"
rc_add "unset backup"
fi
if [[ $(ini_get bold_text) == True ]]; then
dbg_msg $"NanoCFG Setting:" $"Bold-Text" $"On"
rc_add "set boldtext"
else
dbg_msg $"NanoCFG Setting:" $"Bold-Text" $"Off"
rc_add "unset boldtext"
fi
if [[ $(ini_get case_sensitive) == True ]]; then
dbg_msg $"NanoCFG Setting:" $"Case-Sensitive" $"On"
rc_add "set casesensitive"
else
dbg_msg $"NanoCFG Setting:" $"Case-Sensitive" $"Off"
rc_add "unset casesensitive"
fi
if [[ $(ini_get show_positon) == True ]]; then
dbg_msg $"NanoCFG Setting:" $"Show-Position" $"On"
rc_add "set const"
else
dbg_msg $"NanoCFG Setting:" $"Show-Position" $"Off"
rc_add "unset const"
fi
if [[ $(ini_get more_space) == True ]]; then
dbg_msg $"NanoCFG Setting:" $"More-Space" $"On"
rc_add "set morespace"
else
dbg_msg $"NanoCFG Setting:" $"More-Space" $"Off"
rc_add "unset morespace"
fi
if [[ $(ini_get hide_help) == True ]]; then
dbg_msg $"NanoCFG Setting:" $"No-Help" $"On"
rc_add "set nohelp"
else
dbg_msg $"NanoCFG Setting:" $"No-Help" $"Off"
rc_add "unset nohelp"
fi
if [[ $(ini_get history) == True ]]; then
dbg_msg $"NanoCFG Setting:" $"History Log:" $"On"
rc_add "set historylog"
else
dbg_msg $"NanoCFG Setting:" $"History Log:" $"Off"
rc_add "unset historylog"
fi
if [[ $(ini_get rebind_delete) == True ]]; then
dbg_msg $"NanoCFG Setting:" $"Rebind Delete:" $"On"
rc_add "set rebinddelete"
else
dbg_msg $"NanoCFG Setting:" $"Rebind Delete:" $"Off"
rc_add "unset rebinddelete"
fi
if [[ $(ini_get rebind_keypad) == True ]]; then
dbg_msg $"NanoCFG Setting:" $"Rebind Keypad:" $"On"
rc_add "set rebindkeypad"
else
dbg_msg $"NanoCFG Setting:" $"Rebind Keypad:" $"Off"
rc_add "unset rebindkeypad"
fi
if [[ $(ini_get syntax_highlight) == True ]]; then
dbg_msg $"NanoCFG Setting:" $"Colors" $"On"
COLOR_FILES="$(ls /usr/share/*.nanorc)"
for file in $COLOR_FILES; \
do rc_add "include \"$file\""; \
done
else dbg_msg $"NanoCFG Setting:" $"Colors" $"Off"
fi
dbg_msg $"NanoCFG Loading:" $"BashStyle-NG"
mv $RC_FILE $HOME/.nanorc
unset RC_FILE
export RC_FILE=$HOME/.nanorc.bs-ng.$(date +%I-%M-%S)
if [[ $(ini_get auto_indent) == True ]]; then
dbg_msg $"NanoCFG Setting:" $"Auto-Indention" $"On"
rc_add "set autoindent"
else
dbg_msg $"NanoCFG Setting:" $"Auto-Indention" $"Off"
rc_add "unset autoindent"
fi
if [[ $(ini_get nano_backup) == True ]]; then
dbg_msg $"NanoCFG Setting:" $"Autosave" $"On"
rc_add "set backup"
else
dbg_msg $"NanoCFG Setting:" $"Autosave" $"Off"
rc_add "unset backup"
fi
if [[ $(ini_get bold_text) == True ]]; then
dbg_msg $"NanoCFG Setting:" $"Bold-Text" $"On"
rc_add "set boldtext"
else
dbg_msg $"NanoCFG Setting:" $"Bold-Text" $"Off"
rc_add "unset boldtext"
fi
if [[ $(ini_get case_sensitive) == True ]]; then
dbg_msg $"NanoCFG Setting:" $"Case-Sensitive" $"On"
rc_add "set casesensitive"
else
dbg_msg $"NanoCFG Setting:" $"Case-Sensitive" $"Off"
rc_add "unset casesensitive"
fi
if [[ $(ini_get show_positon) == True ]]; then
dbg_msg $"NanoCFG Setting:" $"Show-Position" $"On"
rc_add "set const"
else
dbg_msg $"NanoCFG Setting:" $"Show-Position" $"Off"
rc_add "unset const"
fi
if [[ $(ini_get more_space) == True ]]; then
dbg_msg $"NanoCFG Setting:" $"More-Space" $"On"
rc_add "set morespace"
else
dbg_msg $"NanoCFG Setting:" $"More-Space" $"Off"
rc_add "unset morespace"
fi
if [[ $(ini_get hide_help) == True ]]; then
dbg_msg $"NanoCFG Setting:" $"No-Help" $"On"
rc_add "set nohelp"
else
dbg_msg $"NanoCFG Setting:" $"No-Help" $"Off"
rc_add "unset nohelp"
fi
if [[ $(ini_get history) == True ]]; then
dbg_msg $"NanoCFG Setting:" $"History Log:" $"On"
rc_add "set historylog"
else
dbg_msg $"NanoCFG Setting:" $"History Log:" $"Off"
rc_add "unset historylog"
fi
if [[ $(ini_get rebind_delete) == True ]]; then
dbg_msg $"NanoCFG Setting:" $"Rebind Delete:" $"On"
rc_add "set rebinddelete"
else
dbg_msg $"NanoCFG Setting:" $"Rebind Delete:" $"Off"
rc_add "unset rebinddelete"
fi
if [[ $(ini_get rebind_keypad) == True ]]; then
dbg_msg $"NanoCFG Setting:" $"Rebind Keypad:" $"On"
rc_add "set rebindkeypad"
else
dbg_msg $"NanoCFG Setting:" $"Rebind Keypad:" $"Off"
rc_add "unset rebindkeypad"
fi
if [[ $(ini_get syntax_highlight) == True ]]; then
dbg_msg $"NanoCFG Setting:" $"Colors" $"On"
COLOR_FILES="$(ls /usr/share/*.nanorc)"
for file in $COLOR_FILES; \
do rc_add "include \"$file\""; \
done
else dbg_msg $"NanoCFG Setting:" $"Colors" $"Off"
fi
dbg_msg $"NanoCFG Loading:" $"BashStyle-NG"
mv $RC_FILE $HOME/.nanorc
unset RC_FILE
echo -n #nothing to do, just make lintian shut-up because of missing else
fi
......@@ -13,7 +13,7 @@ custom_prompt=$(ini_get prompt)
custom_command=$(ini_get command)
if [[ $use_custom_prompt == "True" && $custom_prompt != && $custom_prompt != "Not Supported" ]]; then
if [[ $use_custom_prompt == "True" && $custom_prompt != "" && $custom_prompt != "Not Supported" ]]; then
if [[ $custom_command != "" && $custom_command != "Not Supported" ]]; then
echo -E "function pre_prompt { " > $HOME/.custom_prompt
echo -E "$custom_command" >> $HOME/.custom_prompt
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment