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
6f8835f6
Commit
6f8835f6
authored
Feb 22, 2021
by
saltedcoffii
Committed by
GitHub
Feb 22, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add deb file support to chromebrew (#5247)
* Add deb file support to chromebrew * Bump version
parent
0a1d7d3d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
crew
crew
+4
-0
lib/const.rb
lib/const.rb
+1
-1
No files found.
crew
View file @
6f8835f6
...
...
@@ -557,6 +557,10 @@ def unpack (meta)
puts
"Unpacking archive using 'tar', this may take a while..."
FileUtils
.
mkdir
extract_dir
unless
Dir
.
exist
?(
extract_dir
)
system
"tar x#{@verbose}f #{meta[:filename]} -C #{extract_dir}"
when
/\.
deb
$/
i
puts
"Unpacking archive using 'ar', this may take a while..."
FileUtils
.
mkdir
extract_dir
unless
Dir
.
exist
?(
extract_dir
)
system
"ar -p #{meta[:filename]} data.tar.xz | xz -dc#{@verbose} | tar x#{@verbose} -C #{extract_dir}"
end
if
meta
[:
source
]
==
true
#
Check
the
number
of
directories
in
the
archive
...
...
lib/const.rb
View file @
6f8835f6
# Defines common constants used in different parts of crew
CREW_VERSION
=
'1.7.
6
'
CREW_VERSION
=
'1.7.
7
'
ARCH_ACTUAL
=
`uname -m`
.
strip
# This helps with virtualized builds on aarch64 machines
...
...
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