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
4c19a31b
Commit
4c19a31b
authored
Aug 28, 2016
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fixes
parent
82ea7f25
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
6 deletions
+20
-6
epm-query
bin/epm-query
+3
-3
epm-sh-functions
bin/epm-sh-functions
+1
-1
epm-site
bin/epm-site
+1
-1
check_eepm.log
check_eepm.log
+13
-0
check_reqs.sh
check_reqs.sh
+2
-1
No files found.
bin/epm-query
View file @
4c19a31b
#!/bin/sh
#
# Copyright (C) 2012, 2013, 2015 Etersoft
# Copyright (C) 2012, 2013, 2015 Vitaly Lipatov <lav@etersoft.ru>
# Copyright (C) 2012, 2013, 2015
, 2016
Etersoft
# Copyright (C) 2012, 2013, 2015
, 2016
Vitaly Lipatov <lav@etersoft.ru>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
...
...
@@ -186,7 +186,7 @@ __epm_query_name()
CMD
=
"conary query"
;;
homebrew
)
warning
"fix query"
docmd brew info
"
$1
"
>
/dev/null 2>/dev/null
&&
echo
"
$1
"
&&
return
return
1
;;
# TODO: need to print name if exists
...
...
bin/epm-sh-functions
View file @
4c19a31b
...
...
@@ -516,5 +516,5 @@ is_active_systemd()
[
-d
"
$SYSTEMD_CGROUP_DIR
"
]
||
return
a
=
mountpoint
-q
"
$SYSTEMD_CGROUP_DIR
"
||
return
# some hack
p
idof
systemd
>
/dev/null
p
s ax |
grep
-q
systemd
>
/dev/null
}
bin/epm-site
View file @
4c19a31b
...
...
@@ -49,7 +49,7 @@ __query_package_hl_url()
# http://petstore.swagger.io/?url=http://packages.altlinux.org/api/docs
epm assure curl
||
return
1
showcmd curl
"
$PAOAPI
/srpms/
$1
"
curl
-s
--header
"Accept: application/json"
"
$PAOAPI
/srpms/
$1
"
|
grep
'"url"'
|
sed
-e
's|.*"url":"||g'
|
sed
-e
's|".*||g'
a
=
curl
-s
--header
"Accept: application/json"
"
$PAOAPI
/srpms/
$1
"
|
grep
'"url"'
|
sed
-e
's|.*"url":"||g'
|
sed
-e
's|".*||g'
return
0
;;
esac
...
...
check_eepm.log
0 → 100644
View file @
4c19a31b
/bin/echo
coreutils
eepm
file
findutils
grep
less
procps
rpm
sed
sudo
termutils
which
check_reqs.sh
View file @
4c19a31b
#!/bin/sh
/usr/lib/rpm/shell.req bin/epm-
*
|
sort
-u
/usr/lib/rpm/shell.req bin/epm-
*
|
sort
-u
|
tee
./check_eepm.log
git diff ./check_eepm.log
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