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
e194c3ce
Commit
e194c3ce
authored
Dec 18, 2018
by
James Larrowe
Committed by
Ed Reel
Dec 18, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix CREW_DEST_HOME constant (#2957)
parent
26d3b5a1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
crew
crew
+2
-2
install.sh
install.sh
+2
-2
lib/const.rb
lib/const.rb
+1
-1
No files found.
crew
View file @
e194c3ce
...
...
@@ -584,9 +584,9 @@ def install_package (pkgdir)
strip_find_files
"find . -type f ! -iname '*\.bz2' ! -iname '*\.gz' ! -iname '*\.lha' ! -iname '*\.lz' ! -iname '*\.rar' ! -iname '*\.tar' ! -iname '*\.tgz' ! -iname '*\.xz' ! -iname '*\.zip' -perm /111 -print | sed -e '/lib.*\.a$/d' -e '/lib.*\.so/d'"
if
@
opt_verbose
then
system
"tar cvf - ./usr
/*
| (cd /; tar xp --keep-directory-symlink -f -)"
system
"tar cvf - ./usr
./home
| (cd /; tar xp --keep-directory-symlink -f -)"
else
system
"tar cf - ./usr
/*
| (cd /; tar xp --keep-directory-symlink -f -)"
system
"tar cf - ./usr
./home
| (cd /; tar xp --keep-directory-symlink -f -)"
end
end
end
...
...
install.sh
View file @
e194c3ce
...
...
@@ -108,10 +108,10 @@ function extract_install () {
#extract and install
echo
"Extracting
$1
(this may take a while)..."
rm
-rf
./usr
rm
-rf
./usr
./home
tar
-xf
$2
echo
"Installing
$1
(this may take a while)..."
tar
cf - ./usr
/
*
|
(
cd
/
;
tar
xp
--keep-directory-symlink
-f
-
)
tar
cf - ./usr
./home
|
(
cd
/
;
tar
xp
--keep-directory-symlink
-f
-
)
mv
./dlist
$CREW_CONFIG_PATH
/meta/
$1
.directorylist
mv
./filelist
$CREW_CONFIG_PATH
/meta/
$1
.filelist
}
...
...
lib/const.rb
View file @
e194c3ce
# Defines common constants used in different parts of crew
CREW_VERSION
=
'1.0.
4
'
CREW_VERSION
=
'1.0.
5
'
ARCH
=
`uname -m`
.
strip
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