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 845a6ed04e..e42da2ecbc 100755 --- a/scripts/ipkg-build +++ b/scripts/ipkg-build @@ -60,8 +60,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 |