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
acd1e268
Commit
acd1e268
authored
May 01, 2025
by
Boris Yumankulov
Committed by
Vitaly Lipatov
May 01, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play occt: improve (eterbug #18266)
Signed-off-by:
Boris Yumankulov
<
boria138@altlinux.org
>
parent
16ed5374
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
14 deletions
+15
-14
OCCT.sh
pack.d/OCCT.sh
+7
-9
occt.sh
play.d/occt.sh
+7
-4
OCCT.sh
repack.d/OCCT.sh
+1
-1
No files found.
pack.d/OCCT.sh
View file @
acd1e268
...
@@ -8,15 +8,13 @@ VERSION="$3"
...
@@ -8,15 +8,13 @@ VERSION="$3"
PKGNAME
=
$PRODUCT
-
$VERSION
PKGNAME
=
$PRODUCT
-
$VERSION
mkdir
-p
opt/OCCT
mkdir
-p
opt/occt
mv
-v
$TAR
opt/OCCT/occt
mv
-v
$TAR
opt/occt/occt
chmod
0755 opt/OCCT/occt
chmod
0755 opt/occt/occt
# Disable automatic updates in future release
cat
<<
EOF
| create_file /opt/OCCT/OCCT.config.json
touch
"opt/occt/disable_update"
{
# Use configs in home dir
"CheckForUpdates": "Disabled",
touch
"opt/occt/use_home_config"
}
EOF
cat
<<
EOF
| create_file /usr/share/applications/occt.desktop
cat
<<
EOF
| create_file /usr/share/applications/occt.desktop
[Desktop Entry]
[Desktop Entry]
...
...
play.d/occt.sh
View file @
acd1e268
...
@@ -2,14 +2,17 @@
...
@@ -2,14 +2,17 @@
PKGNAME
=
OCCT
PKGNAME
=
OCCT
SUPPORTEDARCHES
=
"x86_64"
SUPPORTEDARCHES
=
"x86_64"
VERSION
=
"
$2
"
DESCRIPTION
=
"Free, all-in-one stability, stress test, benchmark and monitoring tool for PC"
DESCRIPTION
=
"Free, all-in-one stability, stress test, benchmark and monitoring tool for PC"
URL
=
"https://www.ocbase.com/download"
URL
=
"https://www.ocbase.com/download"
.
$(
dirname
$0
)
/common.sh
.
$(
dirname
$0
)
/common.sh
warn_version_is_not_supported
if
[
"
$VERSION
"
=
"*"
]
;
then
VERSION
=
$(
eget
-q
-O-
https://www.ocbase.com/download |
grep
-oP
'"versionStr":"\K[0-9]+\.[0-9]+\.[0-9]+'
|
sort
-V
|
tail
-n1
)
VERSION
=
$(
eget
-q
-O-
https://www.ocbase.com/download |
grep
-oP
'"versionStr":"\K[0-9]+\.[0-9]+\.[0-9]+'
|
sort
-V
|
tail
-n1
)
PKGURL
=
"https://dl.ocbase.com/linux/per/stable/OCCT"
PKGURL
=
"https://dl.ocbase.com/linux/per/stable/OCCT"
else
PKGURL
=
"https://www.ocbase.com/download/edition:Personal/os:Linux/version:
$VERSION
"
fi
install_pack_pkgurl
"
$VERSION
"
install_pack_pkgurl
"
$VERSION
"
repack.d/OCCT.sh
View file @
acd1e268
...
@@ -8,5 +8,5 @@ SPEC="$2"
...
@@ -8,5 +8,5 @@ SPEC="$2"
add_libs_requires
add_libs_requires
add_bin_exec_command occt
"/opt/
OCCT
/occt"
add_bin_exec_command occt
"/opt/
occt
/occt"
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