From a1de7781c2ca47e8c9f25470d503a80834b0a7fb Mon Sep 17 00:00:00 2001 From: Tom Hukins Date: Sat, 18 Jan 2003 22:29:45 +0000 Subject: [PATCH] Update the package list creation code to sort the list usefully. --- en_US.ISO8859-1/books/porters-handbook/book.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en_US.ISO8859-1/books/porters-handbook/book.sgml b/en_US.ISO8859-1/books/porters-handbook/book.sgml index dda5742773..495e02fdaf 100644 --- a/en_US.ISO8859-1/books/porters-handbook/book.sgml +++ b/en_US.ISO8859-1/books/porters-handbook/book.sgml @@ -6107,12 +6107,12 @@ pre-install: you can then install the port and create the package list. &prompt.root; make install PREFIX=/var/tmp/port-name -&prompt.root; (cd /var/tmp/port-name && find -d * \! -type d) > pkg-plist +&prompt.root; (cd /var/tmp/port-name && find -d * \! -type d) | sort > pkg-plist You must also add any newly created directories to the packing list. - &prompt.root; (cd /var/tmp/port-name && find -d * -type d) | comm -13 OLD-DIRS - | sed -e 's#^#@dirrm #' >> pkg-plist + &prompt.root; (cd /var/tmp/port-name && find -d * -type d) | comm -13 OLD-DIRS - | sort -r | sed -e 's#^#@dirrm #' >> pkg-plist Finally, you need to tidy up the packing list by hand; it isn't all automated. Manual pages should be listed in