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
@@ -9,12 +9,13 @@ class Krita < Package
|
||||
source_url 'https://download.kde.org/stable/krita/5.1.4/krita-5.1.4-x86_64.appimage'
|
||||
source_sha256 'f6678796cb98086b1e576aae4911e3d6b133cd0a4ec61a900ff5136a9f55917d'
|
||||
|
||||
no_compile_needed
|
||||
|
||||
depends_on 'gtk3'
|
||||
depends_on 'gdk_base'
|
||||
depends_on 'sommelier'
|
||||
|
||||
no_compile_needed
|
||||
print_source_bashrc
|
||||
|
||||
def self.build
|
||||
krita = <<~EOF
|
||||
#!/bin/bash
|
||||
@@ -37,8 +38,6 @@ class Krita < Package
|
||||
end
|
||||
|
||||
def self.postinstall
|
||||
puts "\nTo finish the installation, execute the following:".lightblue
|
||||
puts 'source ~/.bashrc'.lightblue
|
||||
puts "\nAfter the above, type 'krita' to get started.\n".lightblue
|
||||
ExitMessage.add "\nType 'krita' to get started.\n".lightblue
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user