Merge pull request #549 from jam7/fix-preconfiguration-bug

Fix a bug not removing CREW_DEST_DIR/* before the preconfiguration
This commit is contained in:
lyxell
2017-03-10 08:23:42 +01:00
committed by GitHub

2
crew
View File

@@ -221,7 +221,7 @@ def build_and_preconfigure (target_dir)
@pkg.in_build = true
@pkg.build
@pkg.in_build = false
system "rm -rf", CREW_DEST_DIR + "/*" #wipe crew destdir
system "rm -rf #{CREW_DEST_DIR}/*" #wipe crew destdir
puts "Preconfiguring package..."
@pkg.install
end