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
0319f6e8
Commit
0319f6e8
authored
Nov 03, 2024
by
Boris Yumankulov
Committed by
Vitaly Lipatov
Nov 09, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play wpsoffice: parse version from vendor (eterbug #17812)
parent
ab6ab074
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
wpsoffice.sh
play.d/wpsoffice.sh
+2
-6
No files found.
play.d/wpsoffice.sh
View file @
0319f6e8
...
...
@@ -9,13 +9,9 @@ TIPS="Run epm play wpsoffice=<version> to install some specific version"
.
$(
dirname
$0
)
/common.sh
# TODO: get latest version from vendor
if
[
"
$VERSION
"
=
"*"
]
;
then
# https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=wps-office
pkgverstr
=
$(
eget
-O-
"https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=wps-office"
|
grep
"^pkgver="
)
eval
$pkgverstr
[
-n
"
$pkgver
"
]
||
pkgver
=
11.1.0.11664
VERSION
=
"
$pkgver
.XA"
VERSION
=
$(
eget
-O-
https://www.wps.com/whatsnew/linux/ |
grep
-oP
"
\W
(
\d
+
\.\d
+
\.\d
+
\.\d
+)
\W
"
|
grep
-oP
"
\d
+
\.\d
+
\.\d
+
\.\d
+"
|
head
-n1
)
VERSION
=
"
${
VERSION
}
.XA"
fi
mversion
=
$(
echo
"
$VERSION
"
|
sed
-e
's|\.XA$||'
-e
's|.*\.||'
)
...
...
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