mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
packages: remove uninstall commands
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
b64273db75
commit
eb7bd9ef61
@@ -41,14 +41,4 @@ define BASH_INSTALL_TARGET_CMDS
|
||||
ln -sf bash $(TARGET_DIR)/bin/sh
|
||||
endef
|
||||
|
||||
# Restore the old shell file/link if there was one
|
||||
define BASH_UNINSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) \
|
||||
-C $(BASH_DIR) exec_prefix=/ uninstall
|
||||
rm -f $(TARGET_DIR)/bin/sh
|
||||
if [ -e $(TARGET_DIR)/bin/sh.prebash ]; then \
|
||||
mv -f $(TARGET_DIR)/bin/sh.prebash $(TARGET_DIR)/bin/sh; \
|
||||
fi
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user