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
8e698e39
Commit
8e698e39
authored
Apr 18, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play balena-etcher: add direct downloading, use deb only
parent
da8389d8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
11 deletions
+6
-11
balena-etcher.sh
play.d/balena-etcher.sh
+6
-10
balena-etcher.sh
repack.d/balena-etcher.sh
+0
-1
No files found.
play.d/balena-etcher.sh
View file @
8e698e39
...
...
@@ -8,16 +8,12 @@ URL="https://etcher.io/"
.
$(
dirname
$0
)
/common.sh
pkgtype
=
$(
epm print info
-p
)
case
$pkgtype
in
rpm
)
mask
=
"balena-etcher-
${
VERSION
}
-[1-9].x86_64.rpm"
;;
*
)
mask
=
"balena-etcher_
${
VERSION
}
_amd64.deb"
;;
esac
mask
=
"balena-etcher_
${
VERSION
}
_amd64.deb"
PKGURL
=
$(
eget
--list
--latest
https://github.com/balena-io/etcher/releases
"
$mask
"
)
if
[
"
$VERSION
"
=
"*"
]
;
then
PKGURL
=
$(
eget
--list
--latest
https://github.com/balena-io/etcher/releases
"
$mask
"
)
else
PKGURL
=
"https://github.com/balena-io/etcher/releases/download/v
$VERSION
/
${
PKGNAME
}
_
${
VERSION
}
_amd64.deb"
fi
install_pkgurl
repack.d/balena-etcher.sh
View file @
8e698e39
...
...
@@ -11,7 +11,6 @@ PRODUCTDIR=/opt/balena-etcher
move_to_opt
rm
usr/bin/
$PRODUCT
add_bin_link_command
fix_desktop_file
...
...
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