Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
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
etersoft
eepm
Commits
24c3b921
Commit
24c3b921
authored
Mar 23, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm pack 1c83-client: add support for unpack downloaded tar.gz
parent
f523b824
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
1c83-client.sh
pack.d/1c83-client.sh
+16
-0
No files found.
pack.d/1c83-client.sh
View file @
24c3b921
...
...
@@ -5,8 +5,24 @@ RETURNTARNAME="$2"
.
$(
dirname
$0
)
/common.sh
# unpack if something like server64_8_3_22_1851.tar.gz
if
echo
"
$(
basename
"
$FILENAME
"
)
"
|
grep
-q
"^server.._8_3.*tar
\.
gz$"
;
then
tdir
=
$(
mktemp
-d
)
trap
"rm -fr
$tdir
"
EXIT
# FIXME: erc?
epm
install
--skip-installed
tar
||
fatal
CURDIR
=
"
$(
pwd
)
"
cd
$tdir
||
fatal
a
=
tar
xvfz
$FILENAME
||
fatal
FILENAME
=
"
$(
echo
$tdir
/setup-full-8.
*
.run
)
"
fi
# with run with setup-full.*.run file
echo
"
$(
basename
"
$FILENAME
"
)
"
|
grep
-q
"^setup-full-8
\.
3.*-.*.run$"
||
fatal
"run with file looks like setup-full-8.3.22.1851-x86_64.run"
INSTDIR
=
"/opt/1cv8"
VERSION
=
"
$(
echo
$FILENAME
|
sed
's|.*-8|8|'
|
sed
's|-.*||'
)
"
TARNAME
=
"1c83-client-
$VERSION
.tar"
...
...
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