build-package.sh: force remove ./share/icons/hicolor/icon-theme.cache from deb files
Specific to x11 packages. It is better to implement this in build-package.sh instead of removing it on per-build.sh basis.
This commit is contained in:
parent
f36b4a5ac2
commit
141703e676
@ -42,6 +42,9 @@ termux_step_massage() {
|
||||
# Delete the info directory file.
|
||||
rm -rf ./share/info/dir
|
||||
|
||||
# Mostly specific to X11-related packages.
|
||||
rm -f ./share/icons/hicolor/icon-theme.cache
|
||||
|
||||
test ! -z "$TERMUX_PKG_RM_AFTER_INSTALL" && rm -Rf $TERMUX_PKG_RM_AFTER_INSTALL
|
||||
|
||||
find . -type d -empty -delete # Remove empty directories
|
||||
|
Loading…
Reference in New Issue
Block a user