summaryrefslogtreecommitdiff
path: root/source/ap/diffutils/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/diffutils/doinst.sh')
-rw-r--r--source/ap/diffutils/doinst.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/source/ap/diffutils/doinst.sh b/source/ap/diffutils/doinst.sh
new file mode 100644
index 00000000..cf23d092
--- /dev/null
+++ b/source/ap/diffutils/doinst.sh
@@ -0,0 +1,16 @@
+if [ -x /usr/bin/install-info ] ; then
+ install-info --info-dir=/usr/info /usr/info/diff.info.gz 2>/dev/null
+elif ! grep "diff3" usr/info/dir 1> /dev/null 2> /dev/null ; then
+cat << EOF >> usr/info/dir
+
+GNU packages
+* Diff: (diff). Comparing and merging files.
+
+Individual utilities
+* cmp: (diff)Invoking cmp. Compare 2 files byte by byte.
+* diff3: (diff)Invoking diff3. Compare 3 files line by line.
+* diff: (diff)Invoking diff. Compare 2 files line by line.
+* patch: (diff)Invoking patch. Apply a patch to a file.
+* sdiff: (diff)Invoking sdiff. Merge 2 files side-by-side.
+EOF
+fi