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
fb947865
Commit
fb947865
authored
Nov 02, 2017
by
Ed Reel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove sudo from crew commands in glibc package
parent
77c28764
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
packages/glibc.rb
packages/glibc.rb
+5
-5
No files found.
packages/glibc.rb
View file @
fb947865
...
...
@@ -3,7 +3,7 @@ require 'package'
class
Glibc
<
Package
description
'The GNU C Library project provides the core libraries for GNU/Linux systems.'
homepage
'https://www.gnu.org/software/libc/'
version
'1.
0
'
version
'1.
1
'
is_fake
...
...
@@ -11,7 +11,7 @@ class Glibc < Package
depends_on
'glibc223'
# Check previous version
if
File
.
exist?
CREW_CONFIG_PATH
+
"meta/glibc219.filelist"
conflict_solve
=
"`
sudo
crew remove glibc219`"
conflict_solve
=
"`crew remove glibc219`"
end
else
depends_on
'glibc219'
...
...
@@ -21,16 +21,16 @@ class Glibc < Package
if
File
.
exist?
CREW_CONFIG_PATH
+
"meta/glibc.filelist"
if
File
.
exist?
CREW_CONFIG_PATH
+
"meta/glibc223.filelist"
# Already installed old glibc and glibc223, so need to remove both once
conflict_solve
=
"`
sudo crew remove glibc223` AND `sudo crew remove
glibc`"
conflict_solve
=
"`
crew remove glibc223
glibc`"
else
# Already installed old glibc, so need it once
conflict_solve
=
"`
sudo
crew remove glibc`"
conflict_solve
=
"`crew remove glibc`"
end
end
if
conflict_solve
puts
puts
"I
N ORDER TO INSTALL/UPGRADE GLIBC, PLEASE PERFORMS
#{
conflict_solve
}
FIRST"
puts
"I
n order to install/upgrade glibc, please execute
#{
conflict_solve
}
first"
.
lightblue
puts
exit
1
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