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
Nurlan
eepm
Commits
bdcd3a3e
Commit
bdcd3a3e
authored
Jan 17, 2022
by
Evgeniy Kukhtinov
Committed by
Vitaly Lipatov
Mar 20, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add epm play geogebra
parent
07201ed5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
0 deletions
+39
-0
geogebra.sh
prescription.d/geogebra.sh
+39
-0
No files found.
prescription.d/geogebra.sh
0 → 100755
View file @
bdcd3a3e
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
PKGNAME
=
geogebra
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$PKGNAME
exit
fi
[
"
$1
"
!=
"--run"
]
&&
echo
"Geogebra 6 from the official site"
&&
exit
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
# See also
arch
=
x86_64
pkgtype
=
rpm
pkgver
=
"6.0.666.0"
pkgrel
=
"202109211234"
epm
install
"http://www.geogebra.net/linux/rpm/x86_64/
$PKGNAME
-classic-
$pkgver
-
$pkgrel
.
$arch
.
$pkgtype
"
echo
echo
'
Setting SUID bit on /usr/share/geogebra-classic/chrome-sandbox to allow this crap to work...
'
chmod
4755 /usr/share/geogebra-classic/chrome-sandbox
echo
echo
'
Geogebra 6 successfully installed.
'
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