diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ipkg-build | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/ipkg-build b/scripts/ipkg-build index d38ba20af3..21127f3391 100755 --- a/scripts/ipkg-build +++ b/scripts/ipkg-build @@ -64,8 +64,10 @@ pkg_appears_sane() { 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 |