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
8f3d8163
Commit
8f3d8163
authored
Mar 31, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack: add support for .appimage (low case) extension
parent
c1b542e7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
epm-repack
bin/epm-repack
+1
-1
epm-sh-functions
bin/epm-sh-functions
+1
-1
generic-appimage.sh
pack.d/generic-appimage.sh
+7
-0
No files found.
bin/epm-repack
View file @
8f3d8163
...
...
@@ -110,7 +110,7 @@ __prepare_source_package()
load_helper epm-pack
# they will fill $returntarname
if
rhas
"
$alpkg
"
"
\.
AppImage$"
;
then
if
r
i
has
"
$alpkg
"
"
\.
AppImage$"
;
then
# big hack with $pkg_urls_downloaded (it can be a list, not a single url)
__epm_pack_run_handler generic-appimage
"
$pkg
"
""
"
$pkg_urls_downloaded
"
SUBGENERIC
=
'appimage'
...
...
bin/epm-sh-functions
View file @
8f3d8163
...
...
@@ -795,7 +795,7 @@ get_package_type()
echo
"msi"
return
;;
*
.AppImage
)
*
.AppImage
|
*
.appimage
)
echo
"AppImage"
return
;;
...
...
pack.d/generic-appimage.sh
View file @
8f3d8163
...
...
@@ -7,6 +7,13 @@ URL="$4"
.
$(
dirname
$0
)
/common.sh
# allow .appimage extension
if
rhas
"
$TAR
"
"
\.
appimage$"
;
then
newtarname
=
"
${
TAR
/.appimage/.AppImage
}
"
mv
"
$TAR
"
"
$newtarname
"
TAR
=
"
$newtarname
"
fi
if
!
rhas
"
$TAR
"
"
\.
AppImage$"
;
then
fatal
"No idea how to handle
$TAR
"
fi
...
...
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