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
Nurlan
eepm
Commits
221fe327
Commit
221fe327
authored
2 years ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add --full-list-all
parent
d2a4cc73
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
epm-play
bin/epm-play
+17
-0
No files found.
bin/epm-play
View file @
221fe327
...
@@ -181,6 +181,7 @@ __epm_play_list_installed()
...
@@ -181,6 +181,7 @@ __epm_play_list_installed()
__epm_play_list
()
__epm_play_list
()
{
{
local
psdir
=
"
$1
"
local
psdir
=
"
$1
"
local
extra
=
"
$2
"
local
i
local
i
local
IGNOREi586
local
IGNOREi586
local arch
=
"
$(
$DISTRVENDOR
-a
)
"
local arch
=
"
$(
$DISTRVENDOR
-a
)
"
...
@@ -191,6 +192,11 @@ __epm_play_list()
...
@@ -191,6 +192,11 @@ __epm_play_list()
local
desc
=
"
$(
__get_app_description
$i
$arch
)
"
local
desc
=
"
$(
__get_app_description
$i
$arch
)
"
[
-n
"
$desc
"
]
||
continue
[
-n
"
$desc
"
]
||
continue
echo
"
$i
"
echo
"
$i
"
if
[
-n
"
$extra
"
]
;
then
for
j
in
$(
__run_script
"
$i
"
"--product-alternatives"
)
;
do
echo
"
$i
$j
"
done
fi
done
done
exit
exit
fi
fi
...
@@ -200,6 +206,11 @@ __epm_play_list()
...
@@ -200,6 +206,11 @@ __epm_play_list()
[
-n
"
$desc
"
]
||
continue
[
-n
"
$desc
"
]
||
continue
[
-n
"
$quiet
"
]
||
echo
-n
" "
[
-n
"
$quiet
"
]
||
echo
-n
" "
printf
"%-20s - %s
\n
"
"
$i
"
"
$desc
"
printf
"%-20s - %s
\n
"
"
$i
"
"
$desc
"
if
[
-n
"
$extra
"
]
;
then
for
j
in
$(
__run_script
"
$i
"
"--product-alternatives"
)
;
do
printf
" %-20s - %s
\n
"
"
$i
$j
"
"
$desc
"
done
fi
done
done
}
}
...
@@ -305,6 +316,12 @@ case "$1" in
...
@@ -305,6 +316,12 @@ case "$1" in
;;
;;
esac
esac
if
[
"
$1
"
=
"--full-list-all"
]
;
then
[
-n
"
$short
"
]
||
[
-n
"
$quiet
"
]
||
echo
"Available applications (for current arch
$(
$DISTRVENDOR
-a
)
):"
__epm_play_list
$psdir
extra
exit
fi
if
[
"
$1
"
=
"--list-all"
]
||
[
"
$1
"
=
"list-all"
]
||
[
-z
"
$*
"
]
;
then
if
[
"
$1
"
=
"--list-all"
]
||
[
"
$1
"
=
"list-all"
]
||
[
-z
"
$*
"
]
;
then
[
-n
"
$short
"
]
||
[
-n
"
$quiet
"
]
||
echo
"Available applications (for current arch
$(
$DISTRVENDOR
-a
)
):"
[
-n
"
$short
"
]
||
[
-n
"
$quiet
"
]
||
echo
"Available applications (for current arch
$(
$DISTRVENDOR
-a
)
):"
__epm_play_list
$psdir
__epm_play_list
$psdir
...
...
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