mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-24 19:56:35 +00:00
Makefile: add /etc/bash_completion.d to non-bash purge
Currently, we delete /usr/share/bash-completion when bash is not enabled. We need to delete /etc/bash_completion.d too. For example, the jo package installs files there: /etc/bash_completion.d/jo.bash Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit 18072ecc24b8f288cf131e0d3dcceb0bb6c955c8) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
3803449f32
commit
9704c56af1
1
Makefile
1
Makefile
@ -757,6 +757,7 @@ ifneq ($(BR2_PACKAGE_GDB),y)
|
|||||||
endif
|
endif
|
||||||
ifneq ($(BR2_PACKAGE_BASH),y)
|
ifneq ($(BR2_PACKAGE_BASH),y)
|
||||||
rm -rf $(TARGET_DIR)/usr/share/bash-completion
|
rm -rf $(TARGET_DIR)/usr/share/bash-completion
|
||||||
|
rm -rf $(TARGET_DIR)/etc/bash_completion.d
|
||||||
endif
|
endif
|
||||||
ifneq ($(BR2_PACKAGE_ZSH),y)
|
ifneq ($(BR2_PACKAGE_ZSH),y)
|
||||||
rm -rf $(TARGET_DIR)/usr/share/zsh
|
rm -rf $(TARGET_DIR)/usr/share/zsh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user