From 8d7f6c94a3458328b339b6582592b6c1fecec950 Mon Sep 17 00:00:00 2001 From: Mike Burns Date: Sun, 11 Aug 2013 17:29:01 +0200 Subject: Add the COPY_ALWAYS option The suite now honors the `COPY_ALWAYS` option in rcrc(5). This can be set to a space-separated list of file globs. Any file matching a glob is copied instead of symlinked. This is handy both for secure programs (`netrc`, `ssh/id_*`) and for programs that oddly re-write files (`weechat/*`). To always copy everything, use the `*` glob. This is reflected throughout the suite as follows: * lsrc now has a `-F` option which shows a symbol to indicate whether it is a symlink (`@`) or a copy (`X`). * rcdn only removes symlinks unless the file under question matches a `COPY_ALWAYS` glob, in which case it is removed regardless of whether it is a symlink. * rcup will copy instead of symlinking any file that matches any `COPY_ALWAYS` glob. --- NEWS.md.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'NEWS.md.in') diff --git a/NEWS.md.in b/NEWS.md.in index 4c4ebb9..058971e 100644 --- a/NEWS.md.in +++ b/NEWS.md.in @@ -1,7 +1,9 @@ rcm (@PACKAGE_VERSION@) unstable; urgency=low - * Exclusion and inclusion with -e and -I. + * Exclusion and inclusion with -x and -I. * Copy instead of symlink with -C. + * Always copy the files listed in COPY_ALWAYS. + * Show whether the file is a copy or symlink using lsrc -F. -- Mike Burns Mon, 05 Aug 2013 16:43:33 +0200 -- cgit v1.2.3