mybin

my ~/bin
git clone https://a3nm.net/git/mybin/
Log | Files | Refs | README

commit b2db648eb28be650bfe548c3228c7cbb0a721d9f
parent 443b23e53a865ce25243b0b6d08a4f98d6be8465
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Sun,  3 Aug 2014 13:59:40 +0200

better doc

Diffstat:
debdiffconf.sh | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/debdiffconf.sh b/debdiffconf.sh @@ -1,7 +1,9 @@ #!/bin/bash -# Compare current version of configuration file with pristine version from -# the corresponding Debian package. +# Usage: debdiffconf.sh FILE +# Produce on stdout diff of FILE against the first installed Debian package +# found that provides it. +# Returns the exit code of diff if everything worked, 3 or 4 otherwise. # http://stackoverflow.com/a/4785518 command -v apt-get >/dev/null 2>&1 || {