diff options
author | Sam Bingner <sam@bingner.com> | 2019-03-29 16:15:07 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2019-03-29 16:15:07 -1000 |
commit | f420962cfa66e1cba88f7e0b67de5f081b425ef5 (patch) | |
tree | e5fb9fca204bd553c0f8a15e9c2d42a2e02e346b /data/dpkg | |
parent | f0d949436389a5851c42defba484c4454e351bf2 (diff) |
Update dpkg to have the proper path for perl
Diffstat (limited to 'data/dpkg')
-rw-r--r-- | data/dpkg/make.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/data/dpkg/make.sh b/data/dpkg/make.sh index d5b539653..d43867069 100644 --- a/data/dpkg/make.sh +++ b/data/dpkg/make.sh @@ -1,6 +1,8 @@ cp -a "$(PKG_DEST_ _dpkg)/." "${PKG_DEST}/" -pkg: rm -rf /usr/share/perl5 -pkg: grep -Erl '#! ?/usr/bin/perl' / | while read -r line; do +pkg: rm -rf "$("$(PKG_WORK_ perl)"/perl-5*/miniperl_top -e 'use Config; print $Config{vendorlib};')" +pkg: grep -Erl '#!\s?/usr/bin/perl' / | while read -r line; do + echo rm -f "${line}" rm -f "${line}" done pkg: rm -rf /{usr,var}/lib{,exec}/dpkg/methods +pkg: mkdir -p /var/log/dpkg |