Fix typos and name capitalization issues
Suggested-by: codespell --quiet-level=3
Suggested-by: spellintian --picky
Paul Wise
6 years ago
487 | 487 | if f.startswith('/usr/lib/locale/'): |
488 | 488 | return 0 |
489 | 489 | # Skip files from the user's home directories |
490 | # many processes hold temporafy files there | |
490 | # many processes hold temporary files there | |
491 | 491 | if f.startswith('/home/'): |
492 | 492 | return 0 |
493 | 493 | # Skip automatically generated files |
502 | 502 | # Skip nagios spool files |
503 | 503 | if f.startswith('/var/lib/nagios3/spool/checkresults/'): |
504 | 504 | return 0 |
505 | # Skip Postgresql files | |
505 | # Skip PostgreSQL files | |
506 | 506 | if f.startswith('/var/lib/postgresql/'): |
507 | 507 | return 0 |
508 | 508 | # Skip VDR lib files |
0 | .\" checkrestart.1 - provide a list of processess that need to be restarted | |
0 | .\" checkrestart.1 - provide a list of processes that need to be restarted | |
1 | 1 | .\" Copyright (C) 2006-2014 Javier Fernandez-Sanguino |
2 | 2 | .\" |
3 | 3 | .\" This program is free software; you can redistribute it and/or modify |
178 | 178 | administrators to prevent false positives or known issues |
179 | 179 | from reports (Closes: #649168, 632032) |
180 | 180 | - Fix behaviour of the -p option in several ways to both ensure that the |
181 | test is done properly and that it does not consume unnecesary CPU | |
181 | test is done properly and that it does not consume unnecessary CPU | |
182 | 182 | resources. Also process STDERR instead of showing its contents to the |
183 | 183 | end-user. (Closes: #657653, #513189) |
184 | 184 | - The -p option now works also when libraries have been upgraded and the |
440 | 440 | debian-goodies (0.47) unstable; urgency=low |
441 | 441 | |
442 | 442 | * debget: use 'head' instead of 'tail' when using apt-get --print-uris to |
443 | get the first occurence of a package. This makes it properly download | |
443 | get the first occurrence of a package. This makes it properly download | |
444 | 444 | -data packages instead of the (Closes: #491588) |
445 | 445 | |
446 | 446 | -- Javier Fernandez-Sanguino Pen~a <jfs@debian.org> Mon, 21 Jul 2008 22:46:37 +0200 |
488 | 488 | * checkrestart: |
489 | 489 | - Add /usr/lib/locale/ to the list of exceptions to prevent false |
490 | 490 | positives when locales are reconfigured. |
491 | - Change os.popen call to a subprocess.Popen call since python 2.5 does | |
491 | - Change os.popen call to a subprocess.Popen call since Python 2.5 does | |
492 | 492 | not seem to like lists in os.popen and because subprocess is preferable |
493 | 493 | here. |
494 | 494 | - Recode the utility so that the checks for deleted files and descriptors |
1 | 1 | Provide a desktop menu file that uses "debmany.png". When configuring the desktop |
2 | 2 | call follow this table: |
3 | 3 | |
4 | kde gnome xfce | |
4 | KDE GNOME Xfce | |
5 | 5 | required zenity zenity zenity,xdg-utils |
6 | 6 | parameters -k -z -g -z -x -z |
7 | 7 | |
8 | 8 | It is better to use the -l parameter for ISO 639 two-letter language code and |
9 | 9 | "*" at the end. |
10 | 10 | |
11 | Example parameters for a german Kde user: -k -z -l "de*" | |
11 | Example parameters for a German KDE user: -k -z -l "de*" | |
12 | 12 | |
13 | 13 | Optionally, Depend: on xdg-utils package, too. Then the desktop file can use the arguments |
14 | 14 | -x instead of -k, -g or -x for all desktops. |
0 | 0 | #!/bin/bash |
1 | 1 | # script: debmany |
2 | 2 | # author: Michael Arlt |
3 | # description: select manpages+docs of any [not] installed debian package | |
3 | # description: select manpages+docs of any [not] installed Debian package | |
4 | 4 | # comment: debmany is based on the work of debman and debget |
5 | 5 | # gui uses: whiptail (preferred), dialog or zenity as well |
6 | 6 | # other uses: curl, $PAGER or sensible-pager (can be overwritten: -o) |
59 | 59 | echo "debmany $version |
60 | 60 | Description: Display a manpage or documentation files from a Debian package. |
61 | 61 | The list of files is displayed in a dialog. |
62 | Supported locations for debian packages are: Local .deb-file, | |
62 | Supported locations for Debian packages are: Local .deb-file, | |
63 | 63 | a package in the repository or an installed package. |
64 | 64 | The default for manpages is man - sensible-pager is used for other files. |
65 | 65 | Default can be overridden with -k|-g|-x and -m -o. |
101 | 101 | do |
102 | 102 | case $1 in |
103 | 103 | "-?"|-h|--help) usage ;; |
104 | -k) mancmdline='kfmclient exec man:%s' # set kde viewers | |
104 | -k) mancmdline='kfmclient exec man:%s' # set KDE viewers | |
105 | 105 | othercmdline='kfmclient exec %s';; |
106 | -g) mancmdline='gnome-open man:%s' # set gnome viewers | |
106 | -g) mancmdline='gnome-open man:%s' # set GNOME viewers | |
107 | 107 | othercmdline='gnome-open %s';; |
108 | -x) mancmdline='xdg-open man:%s' # set independant viewers | |
108 | -x) mancmdline='xdg-open man:%s' # set independent viewers | |
109 | 109 | othercmdline='xdg-open %s';; |
110 | 110 | -m) # override default manpageviewer |
111 | 111 | shift |
118 | 118 | -v) debug=1;; |
119 | 119 | -vv) debug=2;; |
120 | 120 | -z) cmd="zenity" |
121 | # is zenity executeable? | |
121 | # is zenity executable? | |
122 | 122 | which $cmd >/dev/null 2>&1 || error "$cmd must be installed if you use parameter -z" |
123 | 123 | ;; |
124 | 124 | -*) usage "Unknown option '$1'.";; |
128 | 128 | done |
129 | 129 | |
130 | 130 | mancmd=($mancmdline) # get first word !dash |
131 | if which $mancmd >/dev/null 2>&1 # is the manpageviewer(first word) executeable? | |
131 | if which $mancmd >/dev/null 2>&1 # is the manpageviewer(first word) executable? | |
132 | 132 | then |
133 | 133 | echo "$mancmdline" | grep -q "%s" || mancmdline="$mancmdline %s" |
134 | 134 | else |
135 | 135 | usage "Manpageviewer '$mancmd' is not available or executable" |
136 | 136 | fi |
137 | 137 | othercmd=($othercmdline) # get first word !dash |
138 | if which $othercmd >/dev/null 2>&1 # is the manpageviewer executeable? | |
138 | if which $othercmd >/dev/null 2>&1 # is the manpageviewer executable? | |
139 | 139 | then |
140 | 140 | echo "$othercmdline" | grep -q "%s" || othercmdline="$othercmdline %s" |
141 | 141 | else |
22 | 22 | ### quality |
23 | 23 | # added a checklist (comment in debmany) for new releases of debmany |
24 | 24 | ### technical |
25 | # removed search in usr/share/X11R6 (last seen in debian sarge) | |
25 | # removed search in usr/share/X11R6 (last seen in Debian sarge) | |
26 | 26 | # small parts rewritten for better dash compatibility - remaining is marked "!dash" |
27 | 27 | # less should be a dependency because it is the default viewer for other files |
28 | 28 | # zenity should be a suggested package because it is a graphical alternative for dialog |
29 | 29 | ### remaining but no reason to operate |
30 | # blanks in filenames do not work - checked in debian etch: no packages found | |
30 | # blanks in filenames do not work - checked in Debian etch: no packages found |
0 | 0 | .\" popbugs.1 - find RC bugs in packages you commonly use |
1 | 1 | .\" Copyright (C) 2004 Jochen Voss |
2 | 2 | .\" Everybody is allowed to distribute this manual page, |
3 | .\" to modify it, and to distribute modifed versions of it. | |
3 | .\" to modify it, and to distribute modified versions of it. | |
4 | 4 | .TH popbugs 1 "January 10 2004" "debian\-goodies" "debian\-goodies" |
5 | 5 | .SH NAME |
6 | 6 | popbugs \- find RC bugs in packages you commonly use |