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
ce10e39c
Commit
ce10e39c
authored
May 12, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack jetbrains-toolbox: rewrite install script (ALT bug 45870)
parent
dc7cbe63
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
jetbrains-toolbox.sh
play.d/jetbrains-toolbox.sh
+0
-8
jetbrains-toolbox.sh
repack.d/jetbrains-toolbox.sh
+14
-6
No files found.
play.d/jetbrains-toolbox.sh
View file @
ce10e39c
...
@@ -15,11 +15,3 @@ URL=$(epm tool eget -O- "https://data.services.jetbrains.com/products?code=TBA&r
...
@@ -15,11 +15,3 @@ URL=$(epm tool eget -O- "https://data.services.jetbrains.com/products?code=TBA&r
# eval for drop quotes
# eval for drop quotes
eval
epm pack
--install
$PKGNAME
$URL
eval
epm pack
--install
$PKGNAME
$URL
echo
echo
"Run jetbrains-toolbox under user to install."
#if [ ! -r /dev/fuse ] ; then
# echo
# echo "Add the user $USER to fuse group"
# echo "For example. run # usermod -aG fuse $USER"
#fi
repack.d/jetbrains-toolbox.sh
View file @
ce10e39c
...
@@ -15,11 +15,19 @@ subst "s|^Group:.*|Group: Development/C|" $SPEC
...
@@ -15,11 +15,19 @@ subst "s|^Group:.*|Group: Development/C|" $SPEC
subst
"s|^URL:.*|URL: https://www.jetbrains.com/ru-ru/toolbox-app/|"
$SPEC
subst
"s|^URL:.*|URL: https://www.jetbrains.com/ru-ru/toolbox-app/|"
$SPEC
subst
"s|^Summary:.*|Summary: JetBrains Toolbox App|"
$SPEC
subst
"s|^Summary:.*|Summary: JetBrains Toolbox App|"
$SPEC
#move_to_opt "/$PRODUCT-*"
#add_bin_link_command $PRODUCT
#subst '1iAutoProv:no' $SPEC
# overwrite default exec script
# ldd: ERROR: /tmp/jetbrains-toolbox-1.25.12627/jetbrains-toolbox: failed to find the program interpreter
cat
<<
EOF
>usr/bin/
$PRODUCT
#subst 's|^AutoReq:.*|AutoReq:no|' $SPEC
#!/bin/sh
BINDIR=~/.local/share/JetBrains/Toolbox/bin
if [ ! -L \
$BINDIR
] ; then
mkdir -p \
$(
dirname
\$
BINDIR
)
rm -rf \
$BINDIR
ln -s
$PRODUCTDIR
\
$BINDIR
fi
cd \
$BINDIR
exec ./
$PRODUCT
"\
$@
"
EOF
add_requires java-openjdk
exit
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