Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
O
oh-my-fish
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
oh-my-fish
Commits
3621126b
Commit
3621126b
authored
Jan 17, 2015
by
Bruno
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #327 from bpinto/forgot_to_change_installer
changing installer to use travis ci env vars
parents
123b5d1b
bd22c375
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
tools/install.fish
tools/install.fish
+6
-6
No files found.
tools/install.fish
View file @
3621126b
...
...
@@ -16,7 +16,7 @@
# The installation process is split up in the following steps:
#
# 1. Resolve source repository to default or get from environment variable.
# This allows installers curl -L ..install.fish |
FORK
=<fork> fish in
# This allows installers curl -L ..install.fish |
TRAVIS_REPO_SLUG
=<fork> fish in
# order to test forks of the framework.
#
# 2. Check for already installed copies of Oh-My-Fish. Do not reinstall.
...
...
@@ -44,8 +44,8 @@ end
log white "Installing Oh My Fish..."
# Allow installers to specify the source repository.
if not set -q
FORK
set
FORK bpinto
if not set -q
TRAVIS_REPO_SLUG
set
TRAVIS_REPO_SLUG bpinto/oh-my-fish
end
# Abort installation if oh-my-fish is already installed.
...
...
@@ -58,12 +58,12 @@ end
# Either git clone or curl GET repository.
log blue "Cloning Oh My Fish from remote repository..."
if type git >/dev/null
git clone "https://github.com/$
FORK/oh-my-fish
.git" $fish_path
git clone "https://github.com/$
TRAVIS_REPO_SLUG
.git" $fish_path
else
log yellow "Install git to pull Oh-My-Fish updates"
log white "Downloading remote zip from Github..."
if curl -sLo $fish_path.zip "https://github.com/$
FORK/oh-my-fish
/archive/master.zip"
if curl -sLo $fish_path.zip "https://github.com/$
TRAVIS_REPO_SLUG
/archive/master.zip"
unzip -q $fish_path.zip
mv "oh-my-fish-master" $fish_path
and log green "Oh-My-Fish succesfully downloaded and extracted to $fish_path"
...
...
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