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
aec208c4
Commit
aec208c4
authored
Sep 15, 2013
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve MacOS support
parent
a9a6c520
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
2 deletions
+13
-2
distr_info
bin/distr_info
+5
-0
epm-info
bin/epm-info
+3
-0
epm-packages
bin/epm-packages
+1
-1
epm-search
bin/epm-search
+1
-0
epm-upgrade
bin/epm-upgrade
+3
-1
No files found.
bin/distr_info
View file @
aec208c4
...
...
@@ -237,6 +237,11 @@ elif [ `uname` = "SunOS" ] ; then
DISTRIB_ID
=
"SunOS"
DISTRIB_RELEASE
=
$(
uname
-r
)
# fixme: can we detect by some file?
elif
[
`
uname
`
=
"Darwin"
]
;
then
DISTRIB_ID
=
"MacOS"
DISTRIB_RELEASE
=
$(
uname
-r
)
# try use standart LSB info by default
elif
distro lsb-release
&&
[
-n
"
$DISTRIB_RELEASE
"
]
;
then
# use LSB
...
...
bin/epm-info
View file @
aec208c4
...
...
@@ -84,6 +84,9 @@ case $PMTYPE in
ipkg
)
docmd ipkg info
$pkg_names
;;
homebrew
)
docmd brew info
$pkg_names
;;
*
)
fatal
"Have no suitable command for
$PMTYPE
"
;;
...
...
bin/epm-packages
View file @
aec208c4
...
...
@@ -88,7 +88,7 @@ case $PMTYPE in
fi
;;
homebrew
)
CMD
=
"brew
$pkg_filenames
"
CMD
=
"brew
list
$pkg_filenames
"
;;
ipkg
)
CMD
=
"ipkg list"
...
...
bin/epm-search
View file @
aec208c4
...
...
@@ -99,6 +99,7 @@ __epm_search_make_grep()
# FIXME: The World has not idea how to do grep both string
# http://stackoverflow.com/questions/10110051/grep-with-two-strings-logical-and-in-regex?rq=1
for
i
in
$list
;
do
# FIXME -n on MacOS?
echo
-n
" | egrep -i --color --
\"
$i
\"
"
done
}
...
...
bin/epm-upgrade
View file @
aec208c4
...
...
@@ -61,7 +61,9 @@ epm_upgrade()
CMD
=
"chocolatey update all"
;;
homebrew
)
CMD
=
"brew upgrade"
#CMD="brew upgrade"
sudocmd
"brew upgrade
`
brew outdated
`
"
return
;;
ipkg
)
CMD
=
"ipkg upgrade"
...
...
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