projects
/
openwrt
/
staging
/
chunkeey.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
scripts/ipkg-build: quash error messages when conffiles.resolved is empty
[openwrt/staging/chunkeey.git]
/
scripts
/
ipkg-build
diff --git
a/scripts/ipkg-build
b/scripts/ipkg-build
index 845a6ed04e63293e353aa4c6b6d8188a1184fb88..e42da2ecbc8605c038bb457d818496514d83d537 100755
(executable)
--- a/
scripts/ipkg-build
+++ b/
scripts/ipkg-build
@@
-60,8
+60,10
@@
pkg_appears_sane() {
done
rm $CONTROL/conffiles
done
rm $CONTROL/conffiles
- mv $CONTROL/conffiles.resolved $CONTROL/conffiles
- chmod 0644 $CONTROL/conffiles
+ if [ -f $CONTROL/conffiles.resolved ]; then
+ mv $CONTROL/conffiles.resolved $CONTROL/conffiles
+ chmod 0644 $CONTROL/conffiles
+ fi
fi
cd $owd
fi
cd $owd