Codebase list debian-goodies / b899212
Fix typos and name capitalization issues Suggested-by: codespell --quiet-level=3 Suggested-by: spellintian --picky Paul Wise 7 years ago
7 changed file(s) with 19 addition(s) and 19 deletion(s). Raw diff Collapse all Expand all
487487 if f.startswith('/usr/lib/locale/'):
488488 return 0
489489 # Skip files from the user's home directories
490 # many processes hold temporafy files there
490 # many processes hold temporary files there
491491 if f.startswith('/home/'):
492492 return 0
493493 # Skip automatically generated files
502502 # Skip nagios spool files
503503 if f.startswith('/var/lib/nagios3/spool/checkresults/'):
504504 return 0
505 # Skip Postgresql files
505 # Skip PostgreSQL files
506506 if f.startswith('/var/lib/postgresql/'):
507507 return 0
508508 # 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
11 .\" Copyright (C) 2006-2014 Javier Fernandez-Sanguino
22 .\"
33 .\" This program is free software; you can redistribute it and/or modify
178178 administrators to prevent false positives or known issues
179179 from reports (Closes: #649168, 632032)
180180 - 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
182182 resources. Also process STDERR instead of showing its contents to the
183183 end-user. (Closes: #657653, #513189)
184184 - The -p option now works also when libraries have been upgraded and the
440440 debian-goodies (0.47) unstable; urgency=low
441441
442442 * 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
444444 -data packages instead of the (Closes: #491588)
445445
446446 -- Javier Fernandez-Sanguino Pen~a <jfs@debian.org> Mon, 21 Jul 2008 22:46:37 +0200
488488 * checkrestart:
489489 - Add /usr/lib/locale/ to the list of exceptions to prevent false
490490 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
492492 not seem to like lists in os.popen and because subprocess is preferable
493493 here.
494494 - Recode the utility so that the checks for deleted files and descriptors
11 Provide a desktop menu file that uses "debmany.png". When configuring the desktop
22 call follow this table:
33
4 kde gnome xfce
4 KDE GNOME Xfce
55 required zenity zenity zenity,xdg-utils
66 parameters -k -z -g -z -x -z
77
88 It is better to use the -l parameter for ISO 639 two-letter language code and
99 "*" at the end.
1010
11 Example parameters for a german Kde user: -k -z -l "de*"
11 Example parameters for a German KDE user: -k -z -l "de*"
1212
1313 Optionally, Depend: on xdg-utils package, too. Then the desktop file can use the arguments
1414 -x instead of -k, -g or -x for all desktops.
00 #!/bin/bash
11 # script: debmany
22 # 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
44 # comment: debmany is based on the work of debman and debget
55 # gui uses: whiptail (preferred), dialog or zenity as well
66 # other uses: curl, $PAGER or sensible-pager (can be overwritten: -o)
5959 echo "debmany $version
6060 Description: Display a manpage or documentation files from a Debian package.
6161 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,
6363 a package in the repository or an installed package.
6464 The default for manpages is man - sensible-pager is used for other files.
6565 Default can be overridden with -k|-g|-x and -m -o.
101101 do
102102 case $1 in
103103 "-?"|-h|--help) usage ;;
104 -k) mancmdline='kfmclient exec man:%s' # set kde viewers
104 -k) mancmdline='kfmclient exec man:%s' # set KDE viewers
105105 othercmdline='kfmclient exec %s';;
106 -g) mancmdline='gnome-open man:%s' # set gnome viewers
106 -g) mancmdline='gnome-open man:%s' # set GNOME viewers
107107 othercmdline='gnome-open %s';;
108 -x) mancmdline='xdg-open man:%s' # set independant viewers
108 -x) mancmdline='xdg-open man:%s' # set independent viewers
109109 othercmdline='xdg-open %s';;
110110 -m) # override default manpageviewer
111111 shift
118118 -v) debug=1;;
119119 -vv) debug=2;;
120120 -z) cmd="zenity"
121 # is zenity executeable?
121 # is zenity executable?
122122 which $cmd >/dev/null 2>&1 || error "$cmd must be installed if you use parameter -z"
123123 ;;
124124 -*) usage "Unknown option '$1'.";;
128128 done
129129
130130 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?
132132 then
133133 echo "$mancmdline" | grep -q "%s" || mancmdline="$mancmdline %s"
134134 else
135135 usage "Manpageviewer '$mancmd' is not available or executable"
136136 fi
137137 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?
139139 then
140140 echo "$othercmdline" | grep -q "%s" || othercmdline="$othercmdline %s"
141141 else
2222 ### quality
2323 # added a checklist (comment in debmany) for new releases of debmany
2424 ### 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)
2626 # small parts rewritten for better dash compatibility - remaining is marked "!dash"
2727 # less should be a dependency because it is the default viewer for other files
2828 # zenity should be a suggested package because it is a graphical alternative for dialog
2929 ### 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
00 .\" popbugs.1 - find RC bugs in packages you commonly use
11 .\" Copyright (C) 2004 Jochen Voss
22 .\" 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.
44 .TH popbugs 1 "January 10 2004" "debian\-goodies" "debian\-goodies"
55 .SH NAME
66 popbugs \- find RC bugs in packages you commonly use