aboutsummaryrefslogtreecommitdiff
path: root/core/cpt/post-install
blob: 5fbbc8e7d05af428d3c6d1fb5f30c1b6463f5afc (plain)
1
2
3
4
5
6
7
8
9
10
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' {} +