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
7b5b8363
Commit
7b5b8363
authored
Mar 26, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: use improved --list on all rpm based distro
parent
8bf613b4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
epm-play
bin/epm-play
+3
-3
epm-status
bin/epm-status
+4
-4
No files found.
bin/epm-play
View file @
7b5b8363
...
@@ -142,8 +142,8 @@ __filter_by_installed_packages()
...
@@ -142,8 +142,8 @@ __filter_by_installed_packages()
local
tapt
=
"
$1
"
local
tapt
=
"
$1
"
local
pkglist
=
"
$2
"
local
pkglist
=
"
$2
"
# hack for
ALT
# hack for
rpm based
if
[
"
$
BASEDISTRNAME
"
=
"alt
"
]
;
then
if
[
"
$
PKGFORMAT
"
=
"rpm
"
]
;
then
LC_ALL
=
C
join
-11
-21
$tapt
$pkglist
|
uniq
LC_ALL
=
C
join
-11
-21
$tapt
$pkglist
|
uniq
return
return
fi
fi
...
@@ -173,7 +173,7 @@ __get_installed_table()
...
@@ -173,7 +173,7 @@ __get_installed_table()
pkglist
=
"
$(
mktemp
)
"
||
fatal
pkglist
=
"
$(
mktemp
)
"
||
fatal
remove_on_exit
$pkglist
remove_on_exit
$pkglist
if
[
"
$
BASEDISTRNAME
"
=
"alt
"
]
;
then
if
[
"
$
PKGFORMAT
"
=
"rpm
"
]
;
then
__get_all_alt_repacked_packages |
LC_ALL
=
C
sort
-u
>
$pkglist
__get_all_alt_repacked_packages |
LC_ALL
=
C
sort
-u
>
$pkglist
else
else
epm
--short
packages |
LC_ALL
=
C
sort
-u
>
$pkglist
epm
--short
packages |
LC_ALL
=
C
sort
-u
>
$pkglist
...
...
bin/epm-status
View file @
7b5b8363
...
@@ -223,20 +223,20 @@ epm_status_repacked()
...
@@ -223,20 +223,20 @@ epm_status_repacked()
#is_installed $pkg || fatal "FIXME: implemented for installed packages as for now"
#is_installed $pkg || fatal "FIXME: implemented for installed packages as for now"
case
$
BASEDISTRNAME
in
case
$
PKGFORMAT
in
alt|redos|rosa
*
|
mos|fedora
)
rpm
)
epm_status_validate
$pkg
||
return
epm_status_validate
$pkg
||
return
[
"
$packager
"
=
"EPM <support@etersoft.ru>"
]
&&
return
0
[
"
$packager
"
=
"EPM <support@etersoft.ru>"
]
&&
return
0
[
"
$packager
"
=
"EPM <support@eepm.ru>"
]
&&
return
0
[
"
$packager
"
=
"EPM <support@eepm.ru>"
]
&&
return
0
;;
;;
debian|ubuntu
)
deb
)
epm_status_validate
$pkg
||
return
epm_status_validate
$pkg
||
return
# In packages repackaged via alien maintainer equal to $USER, it is better to use the package description
# In packages repackaged via alien maintainer equal to $USER, it is better to use the package description
[
!
-z
"
$repacked
"
]
&&
return
0
[
!
-z
"
$repacked
"
]
&&
return
0
;;
;;
*
)
*
)
fatal
'
Unsupported $BASEDISTRNAME
'
fatal
'
epm_status_repacked: unsupported $PKGNAME ($BASEDISTRNAME)
'
;;
;;
esac
esac
return
1
return
1
...
...
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