mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Use same ExitMessage for all packages asking to source ~/.bashrc (#8900)
* Use same ExitMessage for all packages asking to source ~/.bashrc * refactor reload_source * update mold * add extra space * fix msg * rename macro * change name of macro again, run rubocop on package.rb * update mold => 2.3.2
This commit is contained in:
committed by
GitHub
parent
389371c51f
commit
ded56e955c
@@ -14,6 +14,7 @@ class Torbrowser < Package
|
||||
|
||||
no_compile_needed
|
||||
no_shrink
|
||||
print_source_bashrc
|
||||
|
||||
def self.build
|
||||
tor = <<~EOF
|
||||
@@ -37,8 +38,6 @@ class Torbrowser < Package
|
||||
end
|
||||
|
||||
def self.postinstall
|
||||
puts "\nTo finish the installation, execute the following:".lightblue
|
||||
puts 'source ~/.bashrc'.lightblue
|
||||
print "\nSet Tor as your default browser? [Y/n]: "
|
||||
case $stdin.gets.chomp.downcase
|
||||
when '', 'y', 'yes'
|
||||
|
||||
Reference in New Issue
Block a user