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
912aa937
Commit
912aa937
authored
Dec 10, 2017
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add --scripts support to repack foreign packages with alien
parent
24f4cc09
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
epm
bin/epm
+1
-1
epm-install
bin/epm-install
+2
-2
No files found.
bin/epm
View file @
912aa937
...
...
@@ -350,7 +350,7 @@ check_option()
--repack
)
# HELPOPT: repack rpm package(s) before install
repack
=
"--repack"
;;
--scripts
)
# HELPOPT: include scripts in repacked rpm package(s) (see --repack)
--scripts
)
# HELPOPT: include scripts in repacked rpm package(s) (see --repack
or repacking when foreign package is installed
)
scripts
=
"--scripts"
;;
--sort
)
# HELPOPT: sort output, f.i. --sort=size (supported only for packages command)
...
...
bin/epm-install
View file @
912aa937
...
...
@@ -310,7 +310,7 @@ __epm_check_if_try_install_deb()
cd
$TDIR
||
fatal
for
pkg
in
$debpkgs
;
do
# TODO: fakeroot for non ALT?
showcmd_store_output alien
-r
-k
--
scripts
"
$pkg
"
||
fatal
showcmd_store_output alien
-r
-k
$
scripts
"
$pkg
"
||
fatal
local
RPMCONVERTED
=
$(
grep
"rpm generated"
$RC_STDOUT
|
sed
-e
"s| generated||g"
)
clean_store_output
docmd epm
install
$force
$nodeps
$RPMCONVERTED
...
...
@@ -340,7 +340,7 @@ __epm_check_if_try_install_rpm()
local
TDIR
=
$(
mktemp
-d
)
cd
$TDIR
||
fatal
for
pkg
in
$rpmpkgs
;
do
showcmd_store_output fakeroot alien
-d
-k
--
scripts
"
$pkg
"
showcmd_store_output fakeroot alien
-d
-k
$
scripts
"
$pkg
"
local
DEBCONVERTED
=
$(
grep
"deb generated"
$RC_STDOUT
|
sed
-e
"s| generated||g"
)
clean_store_output
docmd epm
install
$force
$nodeps
$DEBCONVERTED
...
...
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