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
87f669bb
Commit
87f669bb
authored
Jul 21, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: small cleanup
parent
d5aa1284
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
assistant.sh
play.d/assistant.sh
+3
-1
brave.sh
play.d/brave.sh
+1
-0
No files found.
play.d/assistant.sh
View file @
87f669bb
...
@@ -25,7 +25,9 @@ epm tool eget -q -O- "https://мойассистент.рф/скачать" | gr
...
@@ -25,7 +25,9 @@ epm tool eget -q -O- "https://мойассистент.рф/скачать" | gr
url_by_order
()
url_by_order
()
{
{
local
order
=
"
$1
"
local
order
=
"
$1
"
echo
"https://мойассистент.рф
$(
cat
$tmpfile
|
grep
"/Download/"
|
$order
-n1
|
sed
-e
's|.*href="||'
-e
's|".*||'
)
"
local
pkg
=
"
$(
cat
$tmpfile
|
grep
"/Download/"
|
$order
-n1
|
sed
-e
's|.*href="||'
-e
's|".*||'
)
"
[
-n
"
$pkg
"
]
||
fatal
"Can't get Download href"
echo
"https://мойассистент.рф
$pkg
"
}
}
case
$arch
-
$pkg
in
case
$arch
-
$pkg
in
...
...
play.d/brave.sh
View file @
87f669bb
...
@@ -10,6 +10,7 @@ for i in $PRODUCTALT ; do
...
@@ -10,6 +10,7 @@ for i in $PRODUCTALT ; do
[
"
$i
"
=
"''"
]
&&
continue
[
"
$i
"
=
"''"
]
&&
continue
if
[
"
$2
"
=
"
$i
"
]
||
epm installed
$PKGNAME
-
$i
;
then
if
[
"
$2
"
=
"
$i
"
]
||
epm installed
$PKGNAME
-
$i
;
then
PKGNAME
=
$PKGNAME
-
$i
PKGNAME
=
$PKGNAME
-
$i
break
fi
fi
done
done
...
...
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