Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
53ee834b
Commit
53ee834b
authored
Oct 26, 2018
by
Chris Thurber
Committed by
GitHub
Oct 26, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2793 from uberhacker/update-cowsay-package
Add postinstall message to set COWPATH
parents
36391262
ae4c6fa9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
packages/cowsay.rb
packages/cowsay.rb
+9
-0
No files found.
packages/cowsay.rb
View file @
53ee834b
...
@@ -10,4 +10,13 @@ class Cowsay < Package
...
@@ -10,4 +10,13 @@ class Cowsay < Package
def
self
.
install
def
self
.
install
system
"sh install.sh
#{
CREW_DEST_PREFIX
}
"
system
"sh install.sh
#{
CREW_DEST_PREFIX
}
"
end
end
def
self
.
postinstall
puts
puts
"To finish the installation, execute the following:"
.
lightblue
puts
"echo '# Set COWPATH for cowsay' >> ~/.bashrc"
.
lightblue
puts
"echo 'export COWPATH=
#{
CREW_PREFIX
}
/share/cows' >> ~/.bashrc"
.
lightblue
puts
"source ~/.bashrc"
.
lightblue
puts
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment