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
6bb06e89
Commit
6bb06e89
authored
Feb 01, 2020
by
vincowl
Committed by
GitHub
Feb 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[composer] Checksum mismatch error while installing 1.9.2 (#3792)
parent
3c9680ee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
packages/composer.rb
packages/composer.rb
+2
-2
No files found.
packages/composer.rb
View file @
6bb06e89
...
@@ -3,7 +3,7 @@ require 'package'
...
@@ -3,7 +3,7 @@ require 'package'
class
Composer
<
Package
class
Composer
<
Package
description
'Dependency Manager for PHP'
description
'Dependency Manager for PHP'
homepage
'https://getcomposer.org/'
homepage
'https://getcomposer.org/'
version
'1.9.2'
version
'1.9.2
-1
'
source_url
'https://github.com/composer/composer/archive/1.9.2.tar.gz'
source_url
'https://github.com/composer/composer/archive/1.9.2.tar.gz'
source_sha256
'bb855149a0c691c11aeb563bbe185bc0de3988c4e678c803762ee4d76dcb3436'
source_sha256
'bb855149a0c691c11aeb563bbe185bc0de3988c4e678c803762ee4d76dcb3436'
...
@@ -22,7 +22,7 @@ class Composer < Package
...
@@ -22,7 +22,7 @@ class Composer < Package
def
self
.
install
def
self
.
install
system
"php -r
\"
copy('https://getcomposer.org/installer', 'composer-setup.php');
\"
"
system
"php -r
\"
copy('https://getcomposer.org/installer', 'composer-setup.php');
\"
"
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA384
.
hexdigest
(
File
.
read
(
'composer-setup.php'
)
)
==
'
a5c698ffe4b8e849a443b120cd5ba38043260d5c4023dbf93e1558871f1f07f58274fc6f4c93bcfd858c6bd0775cd8d1
'
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA384
.
hexdigest
(
File
.
read
(
'composer-setup.php'
)
)
==
'
c5b9b6d368201a9db6f74e2611495f369991b72d9c8cbd3ffbc63edff210eb73d46ffbfce88669ad33695ef77dc76976
'
system
"mkdir -p
#{
CREW_DEST_PREFIX
}
/bin"
system
"mkdir -p
#{
CREW_DEST_PREFIX
}
/bin"
system
"php composer-setup.php --install-dir=
#{
CREW_DEST_PREFIX
}
/bin --filename=composer --version=
#{
version
}
"
system
"php composer-setup.php --install-dir=
#{
CREW_DEST_PREFIX
}
/bin --filename=composer --version=
#{
version
}
"
system
"mkdir -p
#{
CREW_DEST_PREFIX
}
/.config"
system
"mkdir -p
#{
CREW_DEST_PREFIX
}
/.config"
...
...
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