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
85694731
Commit
85694731
authored
Feb 03, 2014
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add initial android support
parent
ef607aed
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
0 deletions
+29
-0
epm-filelist
bin/epm-filelist
+3
-0
epm-install
bin/epm-install
+12
-0
epm-packages
bin/epm-packages
+5
-0
epm-remove
bin/epm-remove
+3
-0
epm-search
bin/epm-search
+3
-0
epm-sh-functions
bin/epm-sh-functions
+3
-0
No files found.
bin/epm-filelist
View file @
85694731
...
@@ -103,6 +103,9 @@ __epm_filelist_name()
...
@@ -103,6 +103,9 @@ __epm_filelist_name()
zypper-rpm
)
zypper-rpm
)
CMD
=
"rpm -ql"
CMD
=
"rpm -ql"
;;
;;
android
)
CMD
=
"pm list packages -f"
;;
conary
)
conary
)
CMD
=
"conary query --ls"
CMD
=
"conary query --ls"
;;
;;
...
...
bin/epm-install
View file @
85694731
...
@@ -146,6 +146,9 @@ epm_install_names()
...
@@ -146,6 +146,9 @@ epm_install_names()
guix
)
guix
)
__separate_sudocmd
"guix package -i"
"guix package -i"
$@
__separate_sudocmd
"guix package -i"
"guix package -i"
$@
return
;;
return
;;
guix
)
__separate_sudocmd
"guix package -i"
"guix package -i"
$@
return
;;
*
)
*
)
fatal
"Have no suitable install command for
$PMTYPE
"
fatal
"Have no suitable install command for
$PMTYPE
"
;;
;;
...
@@ -196,6 +199,9 @@ epm_ni_install_names()
...
@@ -196,6 +199,9 @@ epm_ni_install_names()
nix
)
nix
)
sudocmd nix-env
--install
$@
sudocmd nix-env
--install
$@
return
;;
return
;;
android
sudocmd pm
install
$@
return
;;
slackpkg
)
slackpkg
)
# FIXME: broken status when use batch and default answer
# FIXME: broken status when use batch and default answer
__separate_sudocmd_foreach
"/usr/sbin/slackpkg -batch=on -default_answer=yes install"
"/usr/sbin/slackpkg -batch=on -default_answer=yes upgrade"
$@
__separate_sudocmd_foreach
"/usr/sbin/slackpkg -batch=on -default_answer=yes install"
"/usr/sbin/slackpkg -batch=on -default_answer=yes upgrade"
$@
...
@@ -285,6 +291,9 @@ epm_install_files()
...
@@ -285,6 +291,9 @@ epm_install_files()
pkgsrc
)
pkgsrc
)
sudocmd pkg_add
$@
sudocmd pkg_add
$@
return
;;
return
;;
android
)
sudocmd pm
install
$@
return
;;
emerge
)
emerge
)
load_helper epm-install-emerge
load_helper epm-install-emerge
sudocmd epm_install_emerge
$@
sudocmd epm_install_emerge
$@
...
@@ -335,6 +344,9 @@ epm_print_install_command()
...
@@ -335,6 +344,9 @@ epm_print_install_command()
ipkg
)
ipkg
)
echo
"ipkg install
$@
"
echo
"ipkg install
$@
"
;;
;;
android
)
echo
"pm install
$@
"
;;
*
)
*
)
fatal
"Have no suitable appropriate install command for
$PMTYPE
"
fatal
"Have no suitable appropriate install command for
$PMTYPE
"
;;
;;
...
...
bin/epm-packages
View file @
85694731
...
@@ -96,6 +96,11 @@ case $PMTYPE in
...
@@ -96,6 +96,11 @@ case $PMTYPE in
guix
)
guix
)
CMD
=
"guix package -I"
CMD
=
"guix package -I"
;;
;;
android
)
CMD
=
"pm list packages"
docmd
$CMD
|
sed
-e
"s|^package:||g"
return
;;
*
)
*
)
fatal
"Have no suitable query command for
$PMTYPE
"
fatal
"Have no suitable query command for
$PMTYPE
"
;;
;;
...
...
bin/epm-remove
View file @
85694731
...
@@ -97,6 +97,9 @@ epm_remove_names()
...
@@ -97,6 +97,9 @@ epm_remove_names()
guix
)
guix
)
sudocmd guix package
-r
$@
sudocmd guix package
-r
$@
return
;;
return
;;
android
)
sudocmd pm uninstall
$@
return
;;
chocolatey
)
chocolatey
)
sudocmd chocolatey uninstall
$@
sudocmd chocolatey uninstall
$@
return
;;
return
;;
...
...
bin/epm-search
View file @
85694731
...
@@ -74,6 +74,9 @@ case $PMTYPE in
...
@@ -74,6 +74,9 @@ case $PMTYPE in
guix
)
guix
)
CMD
=
"guix package -A"
CMD
=
"guix package -A"
;;
;;
android
)
CMD
=
"pm list packages"
;;
*
)
*
)
fatal
"Have no suitable search command for
$PMTYPE
"
fatal
"Have no suitable search command for
$PMTYPE
"
;;
;;
...
...
bin/epm-sh-functions
View file @
85694731
...
@@ -370,6 +370,9 @@ case $DISTRNAME in
...
@@ -370,6 +370,9 @@ case $DISTRNAME in
GNU/Linux/Guix
)
GNU/Linux/Guix
)
CMD
=
"guix"
CMD
=
"guix"
;;
;;
Android
)
CMD
=
"android"
;;
*
)
*
)
fatal
"Have no suitable DISTRNAME
$DISTRNAME
"
fatal
"Have no suitable DISTRNAME
$DISTRNAME
"
;;
;;
...
...
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