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
Vladislav
eepm
Commits
7b909986
Commit
7b909986
authored
Oct 19, 2012
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add initial support for window package manager Chocolatey
parent
7bfca544
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
1 deletion
+16
-1
epm-install
bin/epm-install
+3
-0
epm-packages
bin/epm-packages
+3
-0
epm-remove
bin/epm-remove
+3
-0
epm-search
bin/epm-search
+3
-0
epm-sh-functions
bin/epm-sh-functions
+1
-1
epm-upgrade
bin/epm-upgrade
+3
-0
No files found.
bin/epm-install
View file @
7b909986
...
...
@@ -115,6 +115,9 @@ epm_ni_install_names()
# npackdcl update --package=<package> (remove old and install new)
docmd npackdcl add
--package
=
$@
return
;;
chocolatey
)
docmd chocolatey
install
$@
return
;;
slackpkg
)
# TODO: use upgrade if package is already installed
sudocmd /usr/sbin/slackpkg
-batch
=
on
-default_answer
=
yes install
$@
...
...
bin/epm-packages
View file @
7b909986
...
...
@@ -43,6 +43,9 @@ case $PMTYPE in
npackd
)
CMD
=
"npackdcl list"
;;
# chocolatey)
# CMD="chocolatey list"
# ;;
slackpkg
)
CMD
=
"ls -1 /var/log/packages/"
;;
...
...
bin/epm-remove
View file @
7b909986
...
...
@@ -75,6 +75,9 @@ epm_remove_names()
npackd
)
docmd npackdcl remove
--package
=
$@
return
;;
chocolatey
)
docmd chocolatey uninstall
$@
return
;;
slackpkg
)
sudocmd /usr/sbin/slackpkg remove
$@
return
;;
...
...
bin/epm-search
View file @
7b909986
...
...
@@ -52,6 +52,9 @@ case $PMTYPE in
npackd
)
fatal
"FIXME: Have not idea for search with npackdcl list"
;;
chocolatey
)
CMD
=
"chocolatey list"
;;
slackpkg
)
CMD
=
"/usr/sbin/slackpkg search"
;;
...
...
bin/epm-sh-functions
View file @
7b909986
...
...
@@ -188,7 +188,7 @@ case $DISTRNAME in
CMD
=
"zypper-rpm"
;;
Windows
)
CMD
=
"
npackd
"
CMD
=
"
chocolatey
"
;;
*
)
fatal
"Do not known DISTRNAME
$DISTRNAME
"
...
...
bin/epm-upgrade
View file @
7b909986
...
...
@@ -45,6 +45,9 @@ epm_upgrade()
pkg_add
)
CMD
=
"freebsd-update fetch install"
;;
chocolatey
)
CMD
=
"chocolatey update all"
;;
slackpkg
)
CMD
=
"/usr/sbin/slackpkg upgrade-all"
;;
...
...
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