diff options
author | Cem Keylan <cem@ckyln.com> | 2020-08-11 13:38:00 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-08-11 13:38:00 +0300 |
commit | f234ebca0508f0df29b34ec606a1d19f0c2a6ee5 (patch) | |
tree | 3c5bb8a905dfb04e91fd066d3d1b4a0c01665f84 /core/cpt/post-install | |
parent | cbfad6719b39093c8b2b07221d589d953fc99aee (diff) | |
download | repository-f234ebca0508f0df29b34ec606a1d19f0c2a6ee5.tar.gz |
cpt: bump to 3.1.1
Diffstat (limited to 'core/cpt/post-install')
-rwxr-xr-x | core/cpt/post-install | 11 |
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' {} + |