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
Builder Robot
eepm
Commits
ac9efcec
Commit
ac9efcec
authored
Mar 28, 2026
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-pack: copy source file to pack working directory via __epm_repack_copy
parent
c56b0242
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
epm-pack
bin/epm-pack
+7
-0
zen-browser.sh
pack.d/zen-browser.sh
+1
-1
No files found.
bin/epm-pack
View file @
ac9efcec
...
@@ -61,6 +61,13 @@ __epm_pack_run_handler()
...
@@ -61,6 +61,13 @@ __epm_pack_run_handler()
local
packscript
=
"
$(
get_pack_script
"
$packname
"
)
"
local
packscript
=
"
$(
get_pack_script
"
$packname
"
)
"
has_pack_script
"
$packscript
"
||
return
has_pack_script
"
$packscript
"
||
return
# copy source file to pack working directory so pack scripts can freely rename it
if
[
-f
"
$tarname
"
]
&&
[
"
$(
dirname
"
$tarname
"
)
"
!=
"
$(
pwd
)
"
]
;
then
load_helper epm-repack
__epm_repack_copy
"
$tarname
"
"
$(
pwd
)
/
$(
basename
"
$tarname
"
)
"
tarname
=
"
$(
pwd
)
/
$(
basename
"
$tarname
"
)
"
fi
# a file to keep filename of generated tarball
# a file to keep filename of generated tarball
filefortarname
=
"
$(
pwd
)
/filefortarname"
filefortarname
=
"
$(
pwd
)
/filefortarname"
...
...
pack.d/zen-browser.sh
View file @
ac9efcec
...
@@ -14,6 +14,6 @@ VERSION=$(echo "$URL" | grep -oP 'download/\K[0-9]+\.[0-9a-e]+')
...
@@ -14,6 +14,6 @@ VERSION=$(echo "$URL" | grep -oP 'download/\K[0-9]+\.[0-9a-e]+')
# rename package
# rename package
PKGNAME
=
"
$PRODUCT
-
$VERSION
.AppImage"
PKGNAME
=
"
$PRODUCT
-
$VERSION
.AppImage"
cp
$TAR
$PKGNAME
||
fatal
mv
$TAR
$PKGNAME
||
fatal
return_tar
$PKGNAME
return_tar
$PKGNAME
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