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
07dab07a
Commit
07dab07a
authored
Mar 02, 2013
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
many fixes for npackd
parent
ff41a02d
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
18 additions
and
7 deletions
+18
-7
epm-addrepo
bin/epm-addrepo
+1
-1
epm-install
bin/epm-install
+7
-1
epm-packages
bin/epm-packages
+2
-1
epm-remove
bin/epm-remove
+2
-2
epm-removerepo
bin/epm-removerepo
+1
-1
epm-search
bin/epm-search
+2
-1
epm-update
bin/epm-update
+3
-0
No files found.
bin/epm-addrepo
View file @
07dab07a
...
...
@@ -44,7 +44,7 @@ case $PMTYPE in
#sudocmd repo-add $pkg_filenames
;;
npackd
)
docmd npackdcl add-repo
--url
=
$pkg_filenames
su
docmd npackdcl add-repo
--url
=
$pkg_filenames
;;
slackpkg
)
echo
"You need manually add repo to /etc/slackpkg/mirrors"
...
...
bin/epm-install
View file @
07dab07a
...
...
@@ -85,6 +85,12 @@ epm_install_names()
mpkg
)
sudocmd mpkg
install
$@
return
;;
npackd
)
separate_installed
$@
# TODO: use upgrade if package is already installed
[
-n
"
$pkg_noninstalled
"
]
&&
sudocmd npackdcl add
--package
=
$@
$pkg_noninstalled
[
-n
"
$pkg_installed
"
]
&&
sudocmd npackdcl update
--package
=
$@
$pkg_installed
return
;;
slackpkg
)
separate_installed
$@
# TODO: use upgrade if package is already installed
...
...
@@ -135,7 +141,7 @@ epm_ni_install_names()
return
;;
npackd
)
# npackdcl update --package=<package> (remove old and install new)
docmd npackdcl add
--package
=
$@
su
docmd npackdcl add
--package
=
$@
return
;;
chocolatey
)
docmd chocolatey
install
$@
...
...
bin/epm-packages
View file @
07dab07a
...
...
@@ -49,7 +49,8 @@ case $PMTYPE in
fi
;;
npackd
)
CMD
=
"npackdcl list"
CMD
=
"npackdcl list --status=installed"
# TODO: use search if pkg_filenames is not empty
;;
# chocolatey)
# CMD="chocolatey list"
...
...
bin/epm-remove
View file @
07dab07a
...
...
@@ -82,10 +82,10 @@ epm_remove_names()
sudocmd mpkg remove
$@
return
;;
npackd
)
docmd npackdcl remove
--package
=
$@
su
docmd npackdcl remove
--package
=
$@
return
;;
chocolatey
)
docmd chocolatey uninstall
$@
su
docmd chocolatey uninstall
$@
return
;;
slackpkg
)
sudocmd /usr/sbin/slackpkg remove
$@
...
...
bin/epm-removerepo
View file @
07dab07a
...
...
@@ -42,7 +42,7 @@ case $PMTYPE in
echo
"You need remove repo from /etc/pacman.conf"
;;
npackd
)
docmd npackdcl remove-repo
--url
=
$pkg_filenames
su
docmd npackdcl remove-repo
--url
=
$pkg_filenames
;;
slackpkg
)
echo
"You need remove repo from /etc/slackpkg/mirrors"
...
...
bin/epm-search
View file @
07dab07a
...
...
@@ -56,7 +56,8 @@ case $PMTYPE in
CMD
=
"mpkg search"
;;
npackd
)
fatal
"FIXME: Have not idea for search with npackdcl list"
docmd npackdcl search
--query
=
"
$pkg_filenames
"
--status
=
all
return
;;
chocolatey
)
CMD
=
"chocolatey list"
...
...
bin/epm-update
View file @
07dab07a
...
...
@@ -57,6 +57,9 @@ case $PMTYPE in
deepsolver-rpm
)
sudocmd ds-update
;;
npackd
)
sudocmd packdcl detect
# get packages from MSI database
;;
homebrew
)
sudocmd brew update
;;
...
...
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