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
8f30be52
Commit
8f30be52
authored
Apr 01, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play myoffice: add direct download for known version
parent
52e6973b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
myoffice.sh
play.d/myoffice.sh
+12
-2
No files found.
play.d/myoffice.sh
View file @
8f30be52
...
...
@@ -14,9 +14,19 @@ pkgtype=$(epm print info -p)
# /var/lib/dpkg/info/myoffice-standard-home-edition.postinst: line 62: xdg-desktop-menu: command not found
epm assure xdg-desktop-menu xdg-utils
delim
=
"-"
if
[
"
$pkgtype
"
!=
"rpm"
]
;
then
delim
=
"_"
pkgtype
=
"deb"
fi
# https://preset.myoffice-app.ru/myoffice-standard-home-edition-2.3.0-x86_64.rpm
# https://preset.myoffice-app.ru/myoffice-standard-home-edition_2.3.0_amd64.deb
PKGMASK
=
"
$(
epm print constructname
$PKGNAME
"
$VERSION
"
""
""
""
"[-_]"
)
"
PKGURL
=
"
$(
eget
--list
--latest
https://myoffice.ru/products/standard-home-edition/
"
$PKGMASK
"
)
"
PKGMASK
=
"
$(
epm print constructname
$PKGNAME
"
$VERSION
"
""
"
$pkgtype
"
""
"
$delim
"
)
"
if
[
"
$VERSION
"
=
"*"
]
;
then
PKGURL
=
"
$(
eget
--list
--latest
https://myoffice.ru/products/standard-home-edition/
"
$PKGMASK
"
)
"
else
PKGURL
=
"https://preset.myoffice-app.ru/
$PKGMASK
"
fi
epm
install
"
$PKGURL
"
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