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
a40d2448
Commit
a40d2448
authored
Jul 14, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play common.sh: use is_repacked for --installed
parent
306cefd6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
common.sh
play.d/common.sh
+4
-3
No files found.
play.d/common.sh
View file @
a40d2448
...
...
@@ -161,11 +161,11 @@ is_repacked_package()
[
-n
"
$pkg
"
]
||
pkg
=
"
$PKGNAME
"
[
-n
"
$pkg
"
]
||
return
0
#fatal "is_repacked_package() is called without package name"
epm status
--installed
$pkg
||
return
0
# actually only for ALT
[
"
$(
epm print info
-s
)
"
=
"alt"
]
||
return
0
epm status
--installed
$pkg
||
return
0
[
-n
"
$force
"
]
&&
return
0
if
epm status
--original
$pkg
;
then
...
...
@@ -225,7 +225,8 @@ case "$1" in
exit
;;
"--installed"
)
epm installed
$PKGNAME
#epm installed $PKGNAME
is_repacked_package
$PKGNAME
exit
;;
"--installed-version"
)
...
...
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