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
2effb75e
Commit
2effb75e
authored
Dec 11, 2014
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add initial snappy support
parent
71934755
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
0 deletions
+16
-0
epm-install
bin/epm-install
+3
-0
epm-packages
bin/epm-packages
+3
-0
epm-remove
bin/epm-remove
+3
-0
epm-sh-functions
bin/epm-sh-functions
+1
-0
epm-update
bin/epm-update
+3
-0
epm-upgrade
bin/epm-upgrade
+3
-0
No files found.
bin/epm-install
View file @
2effb75e
...
...
@@ -133,6 +133,9 @@ epm_install_names()
dnf-rpm
)
sudocmd dnf
install
$@
return
;;
snappy
)
sudocmd snappy
install
$@
return
;;
zypper-rpm
)
sudocmd zypper
install
$ZYPPEROPTIONS
$@
return
;;
...
...
bin/epm-packages
View file @
2effb75e
...
...
@@ -49,6 +49,9 @@ case $PMTYPE in
CMD
=
"dpkg-query -W --showformat=
\$
{Package}-
\$
{Version}
\n
$pkg_filenames
"
[
-n
"
$short
"
]
&&
CMD
=
"dpkg-query -W --showformat=
\$
{Package}
\n
$pkg_filenames
"
;;
snappy
)
CMD
=
"snappy info"
;;
yum-rpm|urpm-rpm|zypper-rpm|dnf-rpm
)
CMD
=
"rpm -qa
$pkg_filenames
"
[
-n
"
$short
"
]
&&
CMD
=
"rpm -qa --queryformat %{name}
\n
$pkg_filenames
"
...
...
bin/epm-remove
View file @
2effb75e
...
...
@@ -88,6 +88,9 @@ epm_remove_names()
dnf-rpm
)
sudocmd dnf remove
$@
return
;;
snappy
)
sudocmd snappy uninstall
$@
return
;;
zypper-rpm
)
sudocmd zypper remove
$@
return
;;
...
...
bin/epm-sh-functions
View file @
2effb75e
...
...
@@ -383,6 +383,7 @@ case $DISTRNAME in
Ubuntu|Debian|Mint
)
CMD
=
"apt-dpkg"
#which aptitude 2>/dev/null >/dev/null && CMD=aptitude-dpkg
which snappy 2>/dev/null
>
/dev/null
&&
CMD
=
snappy
;;
Mandriva|ROSA
)
CMD
=
"urpm-rpm"
...
...
bin/epm-update
View file @
2effb75e
...
...
@@ -33,6 +33,9 @@ case $PMTYPE in
#sudocmd apt-get -f install || exit
#sudocmd apt-get autoremove
;;
#snappy)
# sudocmd snappy
# ;;
aptitude-dpkg
)
sudocmd aptitude update
||
exit
;;
...
...
bin/epm-upgrade
View file @
2effb75e
...
...
@@ -44,6 +44,9 @@ epm_upgrade()
dnf-rpm
)
CMD
=
"dnf update"
;;
snappy
)
CMD
=
"snappy update"
;;
urpm-rpm
)
# or --auto-select --replace-files
CMD
=
"urpmi --auto-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