Remove restriction to remove a package (#9752)

This commit is contained in:
Ed Reel
2024-05-05 21:06:52 -05:00
committed by GitHub
parent d44d896268
commit 71b9e0d95f
2 changed files with 1 additions and 7 deletions

View File

@@ -19,12 +19,6 @@ class Command
return
end
# We can't remove a package if we don't have the filelist.
unless File.file?(File.join(CREW_META_PATH, "#{pkg.name}.filelist"))
puts "Unable to remove package #{pkg.name} as it does not have a filelist.".lightred
return
end
# Perform any operations required prior to package removal.
pkg.preremove