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
db584d5d
Commit
db584d5d
authored
8 months ago
by
Boris Yumankulov
Committed by
Vitaly Lipatov
5 months ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm status: Add Fedora support (eterbug #17527)
parent
65d26dbd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
3 deletions
+18
-3
epm-status
bin/epm-status
+18
-3
No files found.
bin/epm-status
View file @
db584d5d
...
...
@@ -153,7 +153,7 @@ epm_status_original()
epm_status_validate
$pkg
||
return
1
epm_status_repacked
$pkg
&&
return
1
echo
"
$distribution
"
|
grep
-q
"RED SOFT"
||
return
echo
"
$distribution
"
|
grep
-q
"RED SOFT"
||
return
1
echo
"
$release
"
|
grep
-q
"el7"
||
return
1
return
0
;;
...
...
@@ -161,7 +161,15 @@ epm_status_original()
epm_status_validate
$pkg
||
return
1
epm_status_repacked
$pkg
&&
return
1
echo
"
$distribution
"
|
grep
-q
"ROSA"
||
return
echo
"
$distribution
"
|
grep
-q
"ROSA"
||
return
1
return
0
;;
Fedora
)
epm_status_validate
$pkg
||
return
1
epm_status_repacked
$pkg
&&
return
1
echo
"
$distribution
"
|
grep
-q
"Fedora Project"
||
return
1
echo
"
$release
"
|
grep
-q
"fc"
||
return
1
return
0
;;
*
)
...
...
@@ -178,7 +186,7 @@ epm_status_repacked()
#is_installed $pkg || fatal "FIXME: implemented for installed packages as for now"
case
$BASEDISTRNAME
in
alt|redos|rosafresh|mos
)
alt|redos|rosafresh|mos
|fedora
)
epm_status_validate
$pkg
||
return
local
packager
=
"
$(
epm print field Packager
for
"
$1
"
2>/dev/null
)
"
[
"
$packager
"
=
"EPM <support@etersoft.ru>"
]
&&
return
0
...
...
@@ -226,6 +234,13 @@ epm_status_thirdparty()
echo
"
$distribution
"
|
grep
-q
"^EEPM"
&&
return
1
return
0
;;
fedora
)
epm_status_validate
$pkg
||
return
1
echo
"
$distribution
"
|
grep
-q
"^Fedora Project"
&&
return
1
echo
"
$distribution
"
|
grep
-q
"^EEPM"
&&
return
1
return
0
;;
*
)
fatal
"Unsupported
$BASEDISTRNAME
"
;;
...
...
This diff is collapsed.
Click to expand it.
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