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
e83e6424
Commit
e83e6424
authored
Aug 26, 2016
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use brew without sudo
parent
4e64c1e7
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
5 deletions
+13
-5
epm-check
bin/epm-check
+1
-1
epm-install
bin/epm-install
+9
-1
epm-remove
bin/epm-remove
+1
-1
epm-update
bin/epm-update
+1
-1
epm-upgrade
bin/epm-upgrade
+1
-1
No files found.
bin/epm-check
View file @
e83e6424
...
...
@@ -60,7 +60,7 @@ case $PMTYPE in
sudocmd pkg check
-d
-a
;;
homebrew
)
su
docmd brew doctor
docmd brew doctor
;;
*
)
fatal
"Have no suitable command for
$PMTYPE
"
...
...
bin/epm-install
View file @
e83e6424
...
...
@@ -146,7 +146,7 @@ epm_install_names()
return
;;
homebrew
)
# FIXME: sudo and quote
__separate_sudocmd
"brew install"
"brew upgrade"
$@
SUDO
=
__separate_sudocmd
"brew install"
"brew upgrade"
$@
return
;;
ipkg
)
[
-n
"
$force
"
]
&&
force
=
-force-depends
...
...
@@ -241,6 +241,10 @@ epm_ni_install_names()
xbps
)
sudocmd xbps-install
-y
$@
return
;;
homebrew
)
# FIXME: sudo and quote
SUDO
=
__separate_sudocmd
"brew install"
"brew upgrade"
$@
return
;;
#android)
# sudocmd pm install $@
# return ;;
...
...
@@ -491,6 +495,10 @@ epm_print_install_command()
xbps
)
echo
"xbps-install -y
$@
"
;;
homebrew
)
# FIXME: sudo and quote
echo
"brew install
$@
"
;;
*
)
fatal
"Have no suitable appropriate install command for
$PMTYPE
"
...
...
bin/epm-remove
View file @
e83e6424
...
...
@@ -123,7 +123,7 @@ epm_remove_names()
sudocmd /usr/sbin/slackpkg remove
$@
return
;;
homebrew
)
su
docmd brew remove
$@
docmd brew remove
$@
return
;;
aptcyg
)
sudocmd apt-cyg remove
$@
...
...
bin/epm-update
View file @
e83e6424
...
...
@@ -75,7 +75,7 @@ case $PMTYPE in
sudocmd packdcl detect
# get packages from MSI database
;;
homebrew
)
su
docmd brew update
docmd brew update
;;
ipkg
)
sudocmd ipkg update
...
...
bin/epm-upgrade
View file @
e83e6424
...
...
@@ -81,7 +81,7 @@ epm_upgrade()
;;
homebrew
)
#CMD="brew upgrade"
su
docmd
"brew upgrade
`
brew outdated
`
"
docmd
"brew upgrade
`
brew outdated
`
"
return
;;
ipkg
)
...
...
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