mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-24 07:40:52 +00:00
Ignore -C, -p, and -S options of install(1) when used with the -d
option. Warn about COPY being phased out. Restore the old method of always comparing before installing: INSTALL="install -C". Requested by: bde
This commit is contained in:
parent
3b82505bb2
commit
33c1de7d1f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=100870
6
UPDATING
6
UPDATING
@ -22,6 +22,12 @@ NOTE TO PEOPLE WHO THINK THAT 5.0-CURRENT IS SLOW:
|
||||
integrity. Re-enabling write caching can substantially improve
|
||||
performance.
|
||||
|
||||
20020729:
|
||||
COPY is being deprecated. The 20010530 change was reverted, as
|
||||
it causes far more pain than was expected, and to always compare
|
||||
before installing, please use INSTALL="install -C" again. The
|
||||
-C option is now silently ignored when used with the -d option.
|
||||
|
||||
20020702:
|
||||
Problems with libc_r clients like KDE and GNOME have been resolved.
|
||||
There are still some minor problems with some signals but the
|
||||
|
@ -74,7 +74,7 @@
|
||||
#WANT_FORCE_OPTIMIZATION_DOWNGRADE=1
|
||||
#
|
||||
# Compare before install
|
||||
#COPY= -C
|
||||
#INSTALL=install -C
|
||||
#
|
||||
# Mtree will follow symlinks
|
||||
#MTREE_FOLLOWS_SYMLINKS= -L
|
||||
|
@ -136,7 +136,7 @@ the default install command.
|
||||
To have commands compared before doing
|
||||
the install, use
|
||||
.Bd -literal -offset indent
|
||||
COPY=-C
|
||||
INSTALL="install -C"
|
||||
.Ed
|
||||
.It Va LOCAL_DIRS
|
||||
.Pq Vt str
|
||||
|
@ -173,7 +173,7 @@ main(argc, argv)
|
||||
argv += optind;
|
||||
|
||||
/* some options make no sense when creating directories */
|
||||
if ((safecopy || docompare || dostrip) && dodir)
|
||||
if (dostrip && dodir)
|
||||
usage();
|
||||
|
||||
/* must have at least two arguments, except when creating directories */
|
||||
|
Loading…
Reference in New Issue
Block a user