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
b583f6b7
Commit
b583f6b7
authored
Mar 04, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack: fix add_bin_link_command using
parent
cbb25894
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
13 deletions
+18
-13
common-chromium-browser.sh
repack.d/common-chromium-browser.sh
+1
-1
common.sh
repack.d/common.sh
+2
-1
draw.io.sh
repack.d/draw.io.sh
+5
-4
master-pdf-editor.sh
repack.d/master-pdf-editor.sh
+4
-2
rocketchat.sh
repack.d/rocketchat.sh
+4
-4
vinteo.desktop.sh
repack.d/vinteo.desktop.sh
+2
-1
No files found.
repack.d/common-chromium-browser.sh
View file @
b583f6b7
...
...
@@ -103,6 +103,6 @@ add_bin_commands()
fi
# short command for run
[
"
$PRODUCT
"
=
"
$PRODUCTDIR
"
]
||
add_bin_link_command
$PRODUCT
$PRODUCTCUR
add_bin_link_command
$PRODUCT
$PRODUCTCUR
}
repack.d/common.sh
View file @
b583f6b7
...
...
@@ -108,6 +108,7 @@ add_bin_link_command()
[
-n
"
$name
"
]
||
name
=
"
$PRODUCT
"
[
-n
"
$target
"
]
||
target
=
"
$PRODUCTDIR
/
$name
"
[
-e
"
$BUILDROOT
/usr/bin/
$name
"
]
&&
return
[
"
$name
"
=
"
$target
"
]
&&
return
mkdir
-p
$BUILDROOT
/usr/bin/
ln
-s
"
$target
"
"
$BUILDROOT
/usr/bin/
$name
"
||
return
...
...
@@ -122,6 +123,7 @@ add_bin_exec_command()
[
-n
"
$name
"
]
||
name
=
"
$PRODUCT
"
[
-n
"
$target
"
]
||
target
=
"
$PRODUCTDIR
/
$name
"
[
-e
"
$BUILDROOT
/usr/bin/
$name
"
]
&&
return
[
"
$name
"
=
"
$target
"
]
&&
return
mkdir
-p
$BUILDROOT
/usr/bin/
cat
<<
EOF
> "
$BUILDROOT
/usr/bin/
$name
"
...
...
@@ -165,7 +167,6 @@ move_to_opt()
subst
"s|
$rdir
|
$PRODUCTDIR
|g"
$SPEC
}
fix_chrome_sandbox
()
{
local
sandbox
=
"
$1
"
...
...
repack.d/draw.io.sh
View file @
b583f6b7
...
...
@@ -4,12 +4,13 @@
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
draw.io
PRODUCTDIR
=
/opt/drawio/
PRODUCT
=
drawio
PRODUCTCUR
=
draw.io
PRODUCTDIR
=
/opt/drawio
.
$(
dirname
$0
)
/common-chromium-browser.sh
add_bin_link_command
drawio
add_bin_link_command
$PRODUCT
$PRODUCTDIR
/drawio
add_bin_link_command
add_bin_link_command
$PRODUCT
CUR
$PRODUCT
fix_chrome_sandbox
repack.d/master-pdf-editor.sh
View file @
b583f6b7
...
...
@@ -3,11 +3,13 @@
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
master-pdf-editor
PRODUCT
=
masterpdfeditor5
PRODUCTCUR
=
master-pdf-editor
PRODUCTDIR
=
/opt/master-pdf-editor-5
.
$(
dirname
$0
)
/common.sh
add_bin_link_command masterpdfeditor5
add_bin_link_command
add_bin_link_command
$PRODUCTCUR
$PRODUCT
epm
install
--skip-installed
libGL libqt5-core libqt5-gui libqt5-network libqt5-printsupport libqt5-qml libqt5-svg libqt5-widgets libsane zlib
repack.d/rocketchat.sh
View file @
b583f6b7
...
...
@@ -3,14 +3,14 @@
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
rocketchat
PRODUCTCUR
=
rocketchat
-desktop
PRODUCT
=
rocketchat
-desktop
PRODUCTCUR
=
rocketchat
PRODUCTDIR
=
/opt/Rocket.Chat
.
$(
dirname
$0
)
/common-chromium-browser.sh
add_bin_link_command
$PRODUCTCUR
$PRODUCTDIR
/
$PRODUCTCUR
add_bin_link_command
$PRODUCT
$PRODUCTCUR
add_bin_link_command
add_bin_link_command
$PRODUCT
CUR
$PRODUCT
install_deps
...
...
repack.d/vinteo.desktop.sh
View file @
b583f6b7
...
...
@@ -9,7 +9,8 @@ PRODUCTDIR=/opt/VinteoDesktop
.
$(
dirname
$0
)
/common-chromium-browser.sh
add_bin_link_command vinteo.desktop
add_bin_link_command
subst
's|/opt/VinteoDesktop/||'
$BUILDROOT
/usr/share/applications/vinteo.desktop.desktop
fix_chrome_sandbox
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