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
fec4a1ae
Commit
fec4a1ae
authored
Apr 30, 2026
by
Ivan Mazhukin
Committed by
Vitaly Lipatov
May 05, 2026
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play warp-terminal: don't use deb to get version on ALT (eterbug #17865)
parent
4357e2bb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
19 deletions
+18
-19
warp-terminal.sh
play.d/warp-terminal.sh
+18
-19
No files found.
play.d/warp-terminal.sh
View file @
fec4a1ae
...
...
@@ -11,8 +11,21 @@ URL="https://www.warp.dev/"
warn_version_is_not_supported
arch
=
"
$(
epm print info
-a
)
"
ARCHSUFF
=
""
[
"
$arch
"
=
"aarch64"
]
&&
ARCHSUFF
=
"_arm64"
case
"
$arch
"
in
x86_64
)
deb_arch
=
amd64
appimage_arch
=
x86_64
;;
aarch64
)
deb_arch
=
arm64
appimage_arch
=
aarch64
;;
esac
WARP_VERSION
=
"
$(
get_json_value https://releases.warp.dev/channel_versions.json
'["stable","version"]'
|
sed
-e
's|^v||'
)
"
[
-n
"
$WARP_VERSION
"
]
||
fatal
"Can't get Warp version"
WARP_PKG_VERSION
=
"
$(
echo
"
$WARP_VERSION
"
|
sed
-e
's|\.stable_|.stable.|'
)
"
WARP_BASE_URL
=
"https://releases.warp.dev/stable/v
$WARP_VERSION
"
case
$(
epm print info
-p
)
in
# force repack for all rpm based (due scripts)
...
...
@@ -20,29 +33,15 @@ case $(epm print info -p) in
# PKGURL="https://app.warp.dev/download?package=rpm$ARCHSUFF"
# ;;
*
)
PKGURL
=
"
https://app.warp.dev/download?package=deb
$ARCHSUFF
"
PKGURL
=
"
$WARP_BASE_URL
/warp-terminal_
${
WARP_PKG_VERSION
}
_
${
deb_arch
}
.deb
"
;;
esac
# get version from deb package
set_version
()
{
local
URL
=
"
$1
"
# use temp dir
PKGDIR
=
"
$(
mktemp
-d
)
"
trap
"rm -frv
$PKGDIR
"
EXIT
cd
$PKGDIR
||
fatal
eget
-O
pkg.deb
"
$URL
"
VERSION
=
"
$(
epm print version of package pkg.deb
)
"
}
case
"
$(
epm print info
-d
)
"
in
ALTLinux
)
set_version
$PKGURL
||
fatal
"Can't get version"
# due warp-terminal: /lib64/libcurl.so.4: version `CURL_OPENSSL_4' not found (required by warp-terminal)
PKGURL
=
"https://app.warp.dev/download?package=appimage
$ARCHSUFF
"
# TODO: eget can't --get-real-url or --get-filename for the url
install_pack_pkgurl
$VERSION
PKGURL
=
"
$WARP_BASE_URL
/Warp-
$appimage_arch
.AppImage"
install_pack_pkgurl
"
$WARP_PKG_VERSION
"
exit
;;
esac
...
...
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