mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 06:15:37 +00:00
Only keep backups of installed files on HP-UX where you cannot
unlink a shared library that is in use.
This commit is contained in:
@@ -35,6 +35,7 @@ AWK = @AWK@
|
||||
# Our install program supports extra flags...
|
||||
INSTALL = $(SHELL) $(top_srcdir)/install-sh -c
|
||||
INSTALL_OWNER = -o $(install_uid) -g $(install_gid)
|
||||
INSTALL_BACKUP = @INSTALL_BACKUP@
|
||||
|
||||
# Libraries
|
||||
LIBS = $(top_builddir)/lib/util/libsudo_util.la
|
||||
@@ -132,7 +133,7 @@ install-doc:
|
||||
|
||||
install-plugin: install-dirs sample_plugin.la
|
||||
if [ X"$(shlib_enable)" = X"yes" ]; then \
|
||||
INSTALL_BACKUP='~' $(LIBTOOL) $(LTFLAGS) --mode=install $(INSTALL) $(INSTALL_OWNER) -m $(shlib_mode) sample_plugin.la $(DESTDIR)$(plugindir); \
|
||||
INSTALL_BACKUP='$(INSTALL_BACKUP)' $(LIBTOOL) $(LTFLAGS) --mode=install $(INSTALL) $(INSTALL_OWNER) -m $(shlib_mode) sample_plugin.la $(DESTDIR)$(plugindir); \
|
||||
fi
|
||||
|
||||
uninstall:
|
||||
|
Reference in New Issue
Block a user