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
030d0611
Commit
030d0611
authored
Aug 10, 2012
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use apt-repo on ALT Linux for repo manipulation
parent
585ea680
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
23 additions
and
8 deletions
+23
-8
epm
bin/epm
+1
-1
epm-addrepo
bin/epm-addrepo
+4
-1
epm-removerepo
bin/epm-removerepo
+7
-4
epm-repolist
bin/epm-repolist
+6
-2
epm-search_file
bin/epm-search_file
+1
-0
eepm.spec
eepm.spec
+4
-0
No files found.
bin/epm
View file @
030d0611
...
...
@@ -156,7 +156,7 @@ check_command()
addrepo|ar
)
# HELPCMD: add package repo
epm_cmd
=
addrepo
;;
repolist|sl
)
# HELPCMD: print repo list
repolist|sl
|listrepo
)
# HELPCMD: print repo list
epm_cmd
=
repolist
;;
removerepo|rr
)
# HELPCMD: remove package repo
...
...
bin/epm-addrepo
View file @
030d0611
...
...
@@ -21,7 +21,10 @@
epm_addrepo
()
{
case
$PMTYPE
in
apt-rpm|apt-dpkg
)
apt-rpm
)
docmd
$SUDO
apt-repo add
$pkg_filenames
;;
apt-dpkg
)
echo
"You need manually add repo to /etc/apt/sources.list"
;;
yum-rpm
)
...
...
bin/epm-removerepo
View file @
030d0611
...
...
@@ -21,20 +21,23 @@
epm_removerepo
()
{
case
$PMTYPE
in
apt-rpm|apt-dpkg
)
apt-rpm
)
docmd
$SUDO
apt-repo
rm
$pkg_filenames
;;
apt-dpkg
)
echo
"You need remove repo from /etc/apt/sources.list"
;;
yum-rpm
)
echo
"You need remove repo from /etc/yum.repos.d/"
;;
urpm-rpm
)
docmd
$SUDO
urpmi.removemedia
$pkg_names
docmd
$SUDO
urpmi.removemedia
$pkg_
file
names
;;
zypper-rpm
)
docmd
$SUDO
zypper removerepo
$pkg_names
docmd
$SUDO
zypper removerepo
$pkg_
file
names
;;
emerge
)
docmd
$SUDO
layman
-d
$pkg_names
docmd
$SUDO
layman
-d
$pkg_
file
names
;;
pacman
)
echo
"You need remove repo from /etc/pacman.conf"
...
...
bin/epm-repolist
View file @
030d0611
...
...
@@ -31,8 +31,12 @@ print_apt_sources_list()
epm_repolist
()
{
case
$PMTYPE
in
apt-rpm|apt-dpkg
)
docmd print_apt_sources_list /etc/apt/sources.list /etc/apt/sources.list.d/
*
apt-rpm
)
docmd apt-repo list
;;
apt-dpkg
)
showcmd
cat
/etc/apt/sources.list
*
print_apt_sources_list /etc/apt/sources.list /etc/apt/sources.list.d/
*
.list
;;
yum-rpm
)
docmd yum repolist
...
...
bin/epm-search_file
View file @
030d0611
...
...
@@ -18,6 +18,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
#
# TODO: port or rewrite apt-file
# https://bugzilla.altlinux.org/show_bug.cgi?id=14449
local_content_search
()
{
...
...
eepm.spec
View file @
030d0611
...
...
@@ -20,6 +20,10 @@ Conflicts: epm
Provides: upm
%if %_vendor == "alt"
Requires: apt rpm apt-repo
%endif
%description
Etersoft EPM is the package manager for any platform
and any platform version. It provides
...
...
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