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
0fa4503b
Commit
0fa4503b
authored
Jul 05, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: improve winbox dowloading
parent
d6098a2b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
winbox.sh
pack.d/winbox.sh
+1
-1
winbox.sh
play.d/winbox.sh
+3
-2
No files found.
pack.d/winbox.sh
View file @
0fa4503b
...
@@ -13,7 +13,7 @@ erc $TAR || fatal
...
@@ -13,7 +13,7 @@ erc $TAR || fatal
mv
WinBox_Linux/
*
opt/
$PRODUCT
mv
WinBox_Linux/
*
opt/
$PRODUCT
VERSION
=
$(
echo
"
$URL
"
|
awk
-F
'/'
'{print $6}'
)
[
-n
"
$VERSION
"
]
||
VERSION
=
$(
echo
"
$URL
"
|
awk
-F
'/'
'{print $6}'
)
[
-n
"
$VERSION
"
]
||
fatal
"Can't get package version"
[
-n
"
$VERSION
"
]
||
fatal
"Can't get package version"
PKGNAME
=
$PRODUCT
-
$VERSION
PKGNAME
=
$PRODUCT
-
$VERSION
...
...
play.d/winbox.sh
View file @
0fa4503b
...
@@ -9,8 +9,9 @@ URL="https://mikrotik.com/download"
...
@@ -9,8 +9,9 @@ URL="https://mikrotik.com/download"
.
$(
dirname
$0
)
/common.sh
.
$(
dirname
$0
)
/common.sh
if
[
"
$VERSION
"
=
"*"
]
;
then
if
[
"
$VERSION
"
=
"*"
]
;
then
VERSION
=
$(
eget
-O-
https://mikrotik.com/download |
grep
WinBox_Linux.zip |
awk
-F
'/'
'{print $6}'
|
head
-n1
)
PKGURL
=
$(
eget
--list
https://mikrotik.com/download WinBox_Linux.zip
)
else
PKGURL
=
"https://download.mikrotik.com/routeros/winbox/
$VERSION
/WinBox_Linux.zip"
fi
fi
PKGURL
=
"https://download.mikrotik.com/routeros/winbox/
$VERSION
/WinBox_Linux.zip"
install_pack_pkgurl
install_pack_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