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
092ba8d0
Commit
092ba8d0
authored
Mar 26, 2019
by
James Larrowe
Committed by
Ed Reel
Mar 26, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Expand lzip and zip files correctly (#3232)
* Expand lzip and zip files correctly * Bump version
parent
5e84a6f3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
crew
crew
+2
-2
lib/const.rb
lib/const.rb
+1
-1
No files found.
crew
View file @
092ba8d0
...
@@ -449,8 +449,8 @@ def unpack (meta)
...
@@ -449,8 +449,8 @@ def unpack (meta)
when
/\.
zip
$/
i
when
/\.
zip
$/
i
puts
"Unpacking archive using 'unzip', this may take a while..."
puts
"Unpacking archive using 'unzip', this may take a while..."
_verbopt
=
@
opt_verbose
?
'v'
:
'qq'
_verbopt
=
@
opt_verbose
?
'v'
:
'qq'
system
"unzip"
,
_verbopt
,
"-d"
,
"#{extract_dir}"
,
meta
[:
filename
]
system
"unzip"
,
'-'
+
_verbopt
,
"-d"
,
"#{extract_dir}"
,
meta
[:
filename
]
when
/\.(
tar
(\.(
gz
|
bz2
|
xz
))?|
tgz
|
tbz
)$/
i
when
/\.(
tar
(\.(
gz
|
bz2
|
xz
|
lz
))?|
tgz
|
tbz
)$/
i
puts
"Unpacking archive using 'tar', this may take a while..."
puts
"Unpacking archive using 'tar', this may take a while..."
_verbopt
=
@
opt_verbose
?
'v'
:
''
_verbopt
=
@
opt_verbose
?
'v'
:
''
system
"tar"
,
"x#{_verbopt}f"
,
meta
[:
filename
],
"-C"
,
"#{extract_dir}"
system
"tar"
,
"x#{_verbopt}f"
,
meta
[:
filename
],
"-C"
,
"#{extract_dir}"
...
...
lib/const.rb
View file @
092ba8d0
# Defines common constants used in different parts of crew
# Defines common constants used in different parts of crew
CREW_VERSION
=
'1.2.
2
'
CREW_VERSION
=
'1.2.
3
'
ARCH
=
`uname -m`
.
strip
ARCH
=
`uname -m`
.
strip
ARCH_LIB
=
if
ARCH
==
'x86_64'
then
'lib64'
else
'lib'
end
ARCH_LIB
=
if
ARCH
==
'x86_64'
then
'lib64'
else
'lib'
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