hooks/post-install/03-strip-and-debug-pkgs.sh: respect $noarch and $nostrip.
This commit is contained in:
parent
ea508a6a91
commit
f5827d8b4b
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue