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
e120bd24
Commit
e120bd24
authored
Apr 26, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: update synology* scripts
parent
5031a1db
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
5 deletions
+15
-5
synology-chat.sh
play.d/synology-chat.sh
+5
-2
synology-drive.sh
play.d/synology-drive.sh
+10
-3
No files found.
play.d/synology-chat.sh
View file @
e120bd24
...
...
@@ -2,12 +2,15 @@
PKGNAME
=
synology-chat
SUPPORTEDARCHES
=
"x86_64"
VERSION
=
"
$2
"
DESCRIPTION
=
'Synology Chat Client from the official site'
.
$(
dirname
$0
)
/common.sh
urldir
=
"
$(
epm tool eget
--list
https://archive.synology.com/download/Utility/ChatClient
'/[0-9]*'
|
head
-n1
)
"
[
-n
"
$urldir
"
]
||
exit
[
"
$VERSION
"
=
"*"
]
&&
VERSION
=
"[0-9]*"
urldir
=
"
$(
epm tool eget
--list
https://archive.synology.com/download/Utility/ChatClient
"/
$VERSION
-"
' | head -n1)"
[ -n "$urldir" ] || fatal "Can'
t get
dir
for
$VERSION
version on https://archive.synology.com/download/Utility/ChatClient
"
# use temp dir
PKGDIR="
$(
mktemp
-d
)
"
...
...
play.d/synology-drive.sh
View file @
e120bd24
...
...
@@ -2,12 +2,19 @@
PKGNAME
=
synology-drive
SUPPORTEDARCHES
=
"x86_64"
VERSION
=
"
$2
"
DESCRIPTION
=
'Synology Drive Client from the official site'
.
$(
dirname
$0
)
/common.sh
urldir
=
"
$(
epm tool eget
--list
https://archive.synology.com/download/Utility/SynologyDriveClient
'/[0-9]*'
|
head
-n1
)
"
[
-n
"
$urldir
"
]
||
exit
is_stdcpp_enough
"11.0"
||
VERSION
=
"3.2.1"
epm
install
"
$urldir
/
$PKGNAME
*.x86_64.deb"
# it is so strange, package name contains 3.x.x, but package version is 7.x.x
[
"
$VERSION
"
=
"*"
]
&&
VERSION
=
"[0-9]*"
||
VERSION
=
"
$(
echo
"
$VERSION
"
|
sed
-e
's|^7|3|'
)
"
urldir
=
"
$(
epm tool eget
--list
https://archive.synology.com/download/Utility/SynologyDriveClient
"/
$VERSION
-*"
|
head
-n1
)
"
[
-n
"
$urldir
"
]
||
fatal
"Can't get dir for
$VERSION
version on https://archive.synology.com/download/Utility/SynologyDriveClient"
epm
install
"
$urldir
/
$PKGNAME
-*.x86_64.deb"
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