aboutsummaryrefslogtreecommitdiff
path: root/core/cpt/post-install
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-08-11 13:38:00 +0300
committerCem Keylan <cem@ckyln.com>2020-08-11 13:38:00 +0300
commitf234ebca0508f0df29b34ec606a1d19f0c2a6ee5 (patch)
tree3c5bb8a905dfb04e91fd066d3d1b4a0c01665f84 /core/cpt/post-install
parentcbfad6719b39093c8b2b07221d589d953fc99aee (diff)
downloadrepository-f234ebca0508f0df29b34ec606a1d19f0c2a6ee5.tar.gz
cpt: bump to 3.1.1
Diffstat (limited to 'core/cpt/post-install')
-rwxr-xr-xcore/cpt/post-install11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/cpt/post-install b/core/cpt/post-install
new file mode 100755
index 00000000..5fbbc8e7
--- /dev/null
+++ b/core/cpt/post-install
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+find "$CPT_ROOT/usr/lib" \
+ ! -type d \
+ -name '*.la' \
+ -exec rm -f -- {} +
+
+find "$CPT_ROOT/var/db/cpt/installed" \
+ ! -type d \
+ -name manifest \
+ -exec sed -i '/.*\.la$/d' {} +