hooks/post-install/03-strip-and-debug-pkgs.sh: respect $noarch and $nostrip.

This commit is contained in:
Juan RP 2014-02-13 17:12:09 +01:00
parent ea508a6a91
commit f5827d8b4b

View file

@ -59,6 +59,10 @@ create_debug_pkg() {
hook() {
local fname= x= f= _soname=
if [ -n "$nostrip" -o -n "$noarch" ]; then
return 0
fi
find ${PKGDESTDIR} -type f | while read f; do
fname=$(basename "$f")
for x in ${nostrip_files}; do