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
f51b3fb1
Commit
f51b3fb1
authored
Dec 18, 2018
by
Chris Thurber
Committed by
GitHub
Dec 18, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2964 from uberhacker/fix-crew-Dir
Add ? to Dir.exists in crew
parents
ea2382b3
9c393fc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
crew
crew
+2
-2
No files found.
crew
View file @
f51b3fb1
...
...
@@ -584,13 +584,13 @@ 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
if
Dir
.
exists
"#{pkgdir}/home"
then
if
Dir
.
exists
?
"#{pkgdir}/home"
then
system
"tar cvf - ./usr/* ./home/* | (cd /; tar xp --keep-directory-symlink -f -)"
else
system
"tar cvf - ./usr/* | (cd /; tar xp --keep-directory-symlink -f -)"
end
else
if
Dir
.
exists
"#{pkgdir}/home"
then
if
Dir
.
exists
?
"#{pkgdir}/home"
then
system
"tar cf - ./usr/* ./home/* | (cd /; tar xp --keep-directory-symlink -f -)"
else
system
"tar cf - ./usr/* | (cd /; tar xp --keep-directory-symlink -f -)"
...
...
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