Fix removing packages (#9771)

This commit is contained in:
Maximilian Downey Twiss
2024-05-09 09:39:21 +10:00
committed by GitHub
parent fe3eba4fd4
commit c522b1744a
2 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ class Command
pkg.preremove
# Remove the files and directories installed by the package.
unless pkg.is_fake
unless pkg.is_fake?
Dir.chdir CREW_CONFIG_PATH do
# Remove all files installed by the package.
File.foreach(File.join(CREW_META_PATH, "#{pkg.name}.filelist"), chomp: true) do |line|