From 71b9e0d95fcaaa1b1fd7563ba3fe19ef5bc9119e Mon Sep 17 00:00:00 2001 From: Ed Reel Date: Sun, 5 May 2024 21:06:52 -0500 Subject: [PATCH] Remove restriction to remove a package (#9752) --- commands/remove.rb | 6 ------ lib/const.rb | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/commands/remove.rb b/commands/remove.rb index 580d83a66..a54da2f72 100644 --- a/commands/remove.rb +++ b/commands/remove.rb @@ -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 diff --git a/lib/const.rb b/lib/const.rb index 5e6e431e8..81176aba5 100644 --- a/lib/const.rb +++ b/lib/const.rb @@ -2,7 +2,7 @@ # Defines common constants used in different parts of crew require 'etc' -CREW_VERSION = '1.47.5' +CREW_VERSION = '1.47.6' # kernel architecture KERN_ARCH = Etc.uname[:machine]