Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE-old
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav
PortWINE-old
Commits
8b61e35c
Unverified
Commit
8b61e35c
authored
Mar 20, 2023
by
Castro-Fidel
Committed by
GitHub
Mar 20, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #33 from zorn-v/patch-2
Do not overwrite symlinks on extract tars
parents
2ae02961
16fac7c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
functions_helper
data_from_portwine/scripts/functions_helper
+5
-5
No files found.
data_from_portwine/scripts/functions_helper
View file @
8b61e35c
...
...
@@ -196,29 +196,29 @@ unpack_tar_zst () {
set
-o
pipefail
unset
PW_ZSTD_PORT
if
[[
`
which zstd
`
]]
&>/dev/null
;
then
tar
-I
zstd
-xvf
"
$1
"
-C
"
$2
"
| sszen
tar
-I
zstd
-x
h
vf
"
$1
"
-C
"
$2
"
| sszen
[
"
${
PIPESTATUS
[0]
}
"
!=
0
]
&&
print_error
"File
$1
unpacking error."
&&
return
1
||
return
0
else
env
LD_LIBRARY_PATH
=
"
${
LD_LIBRARY_PATH
}
:
${
PW_WINELIB
}
/portable/lib/lib64:
${
PW_WINELIB
}
/portable/lib/lib"
tar
-I
"
${
PW_WINELIB
}
/portable/bin/zstd"
-xvf
"
$1
"
-C
"
$2
"
| sszen
env
LD_LIBRARY_PATH
=
"
${
LD_LIBRARY_PATH
}
:
${
PW_WINELIB
}
/portable/lib/lib64:
${
PW_WINELIB
}
/portable/lib/lib"
tar
-I
"
${
PW_WINELIB
}
/portable/bin/zstd"
-x
h
vf
"
$1
"
-C
"
$2
"
| sszen
[
"
${
PIPESTATUS
[0]
}
"
!=
0
]
&&
print_error
"File
$1
unpacking error."
&&
return
1
||
return
0
fi
}
unpack_tar_xz
()
{
set
-o
pipefail
tar
-Jxvf
"
$1
"
-C
"
$2
"
| sszen
tar
-Jx
h
vf
"
$1
"
-C
"
$2
"
| sszen
[
"
${
PIPESTATUS
[0]
}
"
!=
0
]
&&
print_error
"File
$1
unpacking error."
&&
return
1
||
return
0
}
unpack_tar_gz
()
{
set
-o
pipefail
tar
-xzvf
"
$1
"
-C
"
$2
"
| sszen
tar
-x
h
zvf
"
$1
"
-C
"
$2
"
| sszen
[
"
${
PIPESTATUS
[0]
}
"
!=
0
]
&&
print_error
"File
$1
unpacking error."
&&
return
1
||
return
0
}
unpack_tar
()
{
set
-o
pipefail
tar
-xvf
"
$1
"
-C
"
$2
"
| sszen
tar
-x
h
vf
"
$1
"
-C
"
$2
"
| sszen
[
"
${
PIPESTATUS
[0]
}
"
!=
0
]
&&
print_error
"File
$1
unpacking error."
&&
return
1
||
return
0
}
...
...
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