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
ae4c6fa9
Commit
ae4c6fa9
authored
Oct 26, 2018
by
Ed Reel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add postinstall to set COWPATH
parent
36391262
Changes
1
Show 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 @
ae4c6fa9
...
...
@@ -10,4 +10,13 @@ class Cowsay < Package
def
self
.
install
system
"sh install.sh
#{
CREW_DEST_PREFIX
}
"
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
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