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
f783032f
Commit
f783032f
authored
Mar 30, 2025
by
Boris Yumankulov
Committed by
Vitaly Lipatov
Mar 31, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play myoffice: use latest version from vendor (etebug #18228)
parent
d9e98664
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
18 deletions
+9
-18
myoffice.sh
play.d/myoffice.sh
+9
-18
No files found.
play.d/myoffice.sh
View file @
f783032f
...
...
@@ -9,26 +9,17 @@ URL="https://myoffice.ru/products/standard-home-edition/"
.
$(
dirname
$0
)
/common.sh
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
# https://preset.myoffice-app.ru/myoffice-standard-home-edition-3.2-139.x86_64.rpm
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
pkgtype
=
$(
epm print info
-p
)
case
$pkgtype
in
rpm
)
PKGURL
=
"https://preset.myoffice-app.ru/MyOfficeStandardHomeEdition.rpm"
;;
*
)
PKGURL
=
"https://preset.myoffice-app.ru/MyOfficeStandardHomeEdition.deb"
;;
esac
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