mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Remove restriction to remove a package (#9752)
This commit is contained in:
@@ -19,12 +19,6 @@ class Command
|
|||||||
return
|
return
|
||||||
end
|
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.
|
# Perform any operations required prior to package removal.
|
||||||
pkg.preremove
|
pkg.preremove
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# Defines common constants used in different parts of crew
|
# Defines common constants used in different parts of crew
|
||||||
require 'etc'
|
require 'etc'
|
||||||
|
|
||||||
CREW_VERSION = '1.47.5'
|
CREW_VERSION = '1.47.6'
|
||||||
|
|
||||||
# kernel architecture
|
# kernel architecture
|
||||||
KERN_ARCH = Etc.uname[:machine]
|
KERN_ARCH = Etc.uname[:machine]
|
||||||
|
|||||||
Reference in New Issue
Block a user