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
e9ee4ca1
Commit
e9ee4ca1
authored
Sep 01, 2021
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-play: don't list i586- only prescriptions
parent
47e0ee7d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
epm-play
bin/epm-play
+8
-2
No files found.
bin/epm-play
View file @
e9ee4ca1
...
...
@@ -110,6 +110,8 @@ if [ "$1" = "--list" ] || [ "$1" = "--installed" ] ; then
exit
fi
[
"(
$DISTRVENDOR
-a)"
=
"x86_64"
]
&&
IGNOREi586
=
''
||
IGNOREi586
=
1
if
[
"
$1
"
=
"--list-all"
]
||
[
-z
"
$*
"
]
;
then
echo
"Run with a name of a play script to run:"
local
i
...
...
@@ -119,14 +121,18 @@ if [ "$1" = "--list-all" ] || [ -z "$*" ] ; then
# print all
#desc="$($i --description 2>/dev/null)"
#[ -z "$desc" ] && continue
basename
$i
.sh
local
name
=
$(
basename
$i
.sh
)
[
-n
"
$IGNOREi586
"
]
&&
rhas
"
$name
"
"^i586-"
&&
continue
echo
"
$name
"
done
exit
fi
for
i
in
$psdir
/
*
.sh
;
do
desc
=
"
$(
$i
--description
2>/dev/null
)
"
[
-z
"
$desc
"
]
&&
continue
printf
" %-20s - %s
\n
"
"
$(
basename
$i
.sh
)
"
"
$desc
"
local
name
=
$(
basename
$i
.sh
)
[
-n
"
$IGNOREi586
"
]
&&
rhas
"
$name
"
"^i586-"
&&
continue
printf
" %-20s - %s
\n
"
"
$name
"
"
$desc
"
done
echo
echo
"run epm play --list to list installed only or --remove to remove one"
...
...
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