mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
705 B

  1. diff -Naur man-pages-1.70.orig/Makefile man-pages-1.70/Makefile
  2. --- man-pages-1.70.orig/Makefile 2004-06-24 18:49:38.000000000 +0100
  3. +++ man-pages-1.70/Makefile 2004-12-20 15:59:05.000000000 +0000
  4. @@ -16,11 +16,12 @@
  5. screen:
  6. -mkdir not_installed
  7. + find /var/adm/flists ! -name "man-pages*" | \
  8. + xargs grep -hE "/man/man([1-9])/.*\.\1$$" | \
  9. + awk '{print $$2}' > not_installed/.MANCACHE; \
  10. for i in man?/*; do \
  11. - if [ $(MANDIR)/"$$i" -nt "$$i" ]; then \
  12. - cmp -s $(MANDIR)/"$$i" "$$i" > /dev/null 2>&1; \
  13. - if [ "$$?" != 0 ]; then mv "$$i" not_installed; fi; \
  14. - fi; \
  15. + grep -Fq "/$$i" not_installed/.MANCACHE; \
  16. + if [ "$$?" == 0 ]; then mv "$$i" not_installed; fi; \
  17. done
  18. remove: