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
Łukasz Nowak
chromebrew
Commits
84c883ed
Commit
84c883ed
authored
May 20, 2020
by
vincowl
Committed by
GitHub
May 20, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
php packages : error messages color (#4079)
Co-authored-by:
Vincent GIRARD
<
vincent@heliosphere.fr
>
parent
bb65ac9f
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
packages/php5.rb
packages/php5.rb
+1
-1
packages/php70.rb
packages/php70.rb
+1
-1
packages/php71.rb
packages/php71.rb
+1
-1
packages/php72.rb
packages/php72.rb
+1
-1
packages/php73.rb
packages/php73.rb
+1
-1
packages/php74.rb
packages/php74.rb
+1
-1
No files found.
packages/php5.rb
View file @
84c883ed
...
...
@@ -33,7 +33,7 @@ class Php5 < Package
def
self
.
preinstall
phpver
=
`php -v 2> /dev/null | head -1 | cut -d' ' -f2`
.
chomp
abort
"PHP version
#{
phpver
}
already installed."
.
light
green
unless
"
#{
phpver
}
"
==
""
abort
"PHP version
#{
phpver
}
already installed."
.
light
red
unless
"
#{
phpver
}
"
==
""
end
def
self
.
patch
...
...
packages/php70.rb
View file @
84c883ed
...
...
@@ -34,7 +34,7 @@ class Php70 < Package
def
self
.
preinstall
phpver
=
`php -v 2> /dev/null | head -1 | cut -d' ' -f2`
.
chomp
abort
"PHP version
#{
phpver
}
already installed."
.
light
green
unless
"
#{
phpver
}
"
==
""
abort
"PHP version
#{
phpver
}
already installed."
.
light
red
unless
"
#{
phpver
}
"
==
""
end
def
self
.
patch
...
...
packages/php71.rb
View file @
84c883ed
...
...
@@ -34,7 +34,7 @@ class Php71 < Package
def
self
.
preinstall
phpver
=
`php -v 2> /dev/null | head -1 | cut -d' ' -f2`
.
chomp
abort
"PHP version
#{
phpver
}
already installed."
.
light
green
unless
"
#{
phpver
}
"
==
""
abort
"PHP version
#{
phpver
}
already installed."
.
light
red
unless
"
#{
phpver
}
"
==
""
end
def
self
.
patch
...
...
packages/php72.rb
View file @
84c883ed
...
...
@@ -34,7 +34,7 @@ class Php72 < Package
def
self
.
preinstall
phpver
=
`php -v 2> /dev/null | head -1 | cut -d' ' -f2`
.
chomp
abort
"PHP version
#{
phpver
}
already installed."
.
light
green
unless
"
#{
phpver
}
"
==
""
abort
"PHP version
#{
phpver
}
already installed."
.
light
red
unless
"
#{
phpver
}
"
==
""
end
def
self
.
patch
...
...
packages/php73.rb
View file @
84c883ed
...
...
@@ -34,7 +34,7 @@ class Php73 < Package
def
self
.
preinstall
phpver
=
`php -v 2> /dev/null | head -1 | cut -d' ' -f2`
.
chomp
abort
"PHP version
#{
phpver
}
already installed."
.
light
green
unless
"
#{
phpver
}
"
==
""
abort
"PHP version
#{
phpver
}
already installed."
.
light
red
unless
"
#{
phpver
}
"
==
""
end
def
self
.
patch
...
...
packages/php74.rb
View file @
84c883ed
...
...
@@ -39,7 +39,7 @@ class Php74 < Package
def
self
.
preinstall
phpver
=
`php -v 2> /dev/null | head -1 | cut -d' ' -f2`
.
chomp
abort
"PHP version
#{
phpver
}
already installed."
.
light
green
unless
"
#{
phpver
}
"
==
""
abort
"PHP version
#{
phpver
}
already installed."
.
light
red
unless
"
#{
phpver
}
"
==
""
end
def
self
.
patch
...
...
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