Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=9529025f2bc2e24b66048e43f3cee43cc2544bb9
commit 9529025f2bc2e24b66048e43f3cee43cc2544bb9 Author: VMiklos <[EMAIL PROTECTED]> Date: Sun Sep 30 00:15:53 2007 +0200 fpmdiff: add manpage, -v and -h options diff --git a/fpmdiff b/fpmdiff index 3bbfd82..6ec9100 100755 --- a/fpmdiff +++ b/fpmdiff @@ -1,5 +1,15 @@ #!/bin/bash +if [ "$1" == "-h" -o "$1" == "--help" ]; then + man fpmdiff + exit $? +fi + +if [ "$1" == "-v" -o "$1" == "--version" ]; then + pacman-g2 -Q pacman-tools + exit $? +fi + old=`mktemp` new=`mktemp` diff --git a/fpmdiff.txt b/fpmdiff.txt new file mode 100644 index 0000000..1f73632 --- /dev/null +++ b/fpmdiff.txt @@ -0,0 +1,26 @@ += fpmdiff(1) + +== NAME + +fpmdiff - compare contents of Frugalware packages + +== SYNOPSIS + +fpmdiff [options] <fpm1> <fpm2> + +== OPTIONS + +--help:: + Display this manpage. + +--version:: + Display the package version. + +== DESCRIPTION + +fpmdiff runs pacman-g2 -Ql for two packages and compares the two output. This +can be quite handy when you split packages. + +For example you first build with --disable-kde, then with --enable-kde and +you'll see what new files have been installed: those files can be splitted to a +separate -kde subpackage. _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
