Changeset View
Changeset View
Standalone View
Standalone View
Mk/Scripts/check_leftovers.sh
Show First 20 Lines • Show All 144 Lines • ▼ Show 20 Lines | case "${sub_path}" in | ||||
#ls-R files from texmf are often regenerated | #ls-R files from texmf are often regenerated | ||||
*/ls-R) ;; | */ls-R) ;; | ||||
# Octave packages database, blank lines can be inserted | # Octave packages database, blank lines can be inserted | ||||
# between pre-install and post-deinstall | # between pre-install and post-deinstall | ||||
share/octave/octave_packages) ;; | share/octave/octave_packages) ;; | ||||
# xmlcatmgr is constantly updating catalog.ports ignore | # xmlcatmgr is constantly updating catalog.ports ignore | ||||
# modification to that file | # modification to that file | ||||
share/xml/catalog.ports) ;; | share/xml/catalog.ports) ;; | ||||
# Ignore ghc's doc index | |||||
pgj: Excellent idea! Thank you.
| |||||
share/doc/ghc-%%GHC_VERSION%%/*) ;; | |||||
share/doc/ghc-%%GHC_VERSION%%/html/libraries/%%PORTNAME%%-%%PORTVERSION%%/html) ;; | |||||
# Ignore ghc's package conf | |||||
lib/ghc-%%GHC_VERSION%%/package.conf.d/*) ;; | |||||
lib/ghc-%%GHC_VERSION%%/package.conf.d/%%PORTNAME%%-%%PORTVERSION%%.conf) ;; | |||||
# Ignore common system config files | # Ignore common system config files | ||||
/etc/group|\ | /etc/group|\ | ||||
/etc/make.conf|\ | /etc/make.conf|\ | ||||
/etc/master.passwd|\ | /etc/master.passwd|\ | ||||
/etc/passwd|\ | /etc/passwd|\ | ||||
/etc/pwd.db|\ | /etc/pwd.db|\ | ||||
/etc/shells|\ | /etc/shells|\ | ||||
/etc/spwd.db) ;; | /etc/spwd.db) ;; | ||||
*) echo "M ${sub_path#@dir } ${extra}" ;; | *) echo "M ${sub_path#@dir } ${extra}" ;; | ||||
esac | esac | ||||
;; | ;; | ||||
esac | esac | ||||
done | done | ||||
exit 0 | exit 0 |
Excellent idea! Thank you.