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
Vladislav
eepm
Commits
851052f5
Commit
851052f5
authored
Jul 19, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack: set umask 022 before repack
parent
7de669a8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
epm-repack-deb
bin/epm-repack-deb
+2
-0
epm-repack-rpm
bin/epm-repack-rpm
+2
-0
No files found.
bin/epm-repack-deb
View file @
851052f5
...
...
@@ -34,6 +34,8 @@ __epm_repack_to_deb()
TDIR
=
"
$(
mktemp
-d
--tmpdir
=
$BIGTMPDIR
)
"
||
fatal
remove_on_exit
$TDIR
umask
022
for
pkg
in
$pkgs
;
do
abspkg
=
"
$(
realpath
"
$pkg
"
)
"
info
"Repacking
$abspkg
to local deb format (inside
$TDIR
) ..."
...
...
bin/epm-repack-rpm
View file @
851052f5
...
...
@@ -123,6 +123,8 @@ __epm_repack_to_rpm()
;;
esac
umask
022
# TODO: improve
if
echo
"
$pkgs
"
|
grep
-q
"
\.
deb"
;
then
assure_exists dpkg
||
fatal
...
...
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