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
b06b0c28
Commit
b06b0c28
authored
Feb 22, 2020
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm: use packagekit name for PackageKit
parent
bd969589
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
25 additions
and
26 deletions
+25
-26
epm-autoremove
bin/epm-autoremove
+1
-1
epm-check
bin/epm-check
+1
-1
epm-download
bin/epm-download
+1
-2
epm-filelist
bin/epm-filelist
+2
-2
epm-info
bin/epm-info
+2
-2
epm-install
bin/epm-install
+4
-4
epm-packages
bin/epm-packages
+1
-1
epm-policy
bin/epm-policy
+1
-1
epm-reinstall
bin/epm-reinstall
+1
-1
epm-release_upgrade
bin/epm-release_upgrade
+1
-1
epm-remove
bin/epm-remove
+2
-2
epm-repolist
bin/epm-repolist
+1
-1
epm-requires
bin/epm-requires
+1
-1
epm-search
bin/epm-search
+1
-1
epm-search_file
bin/epm-search_file
+1
-1
epm-update
bin/epm-update
+1
-1
epm-upgrade
bin/epm-upgrade
+2
-2
epm-whatdepends
bin/epm-whatdepends
+1
-1
No files found.
bin/epm-autoremove
View file @
b06b0c28
...
...
@@ -197,7 +197,7 @@ case $PMTYPE in
fi
sudocmd aura
-Oj
;;
packagekit
-
*
)
packagekit
)
docmd pkcon repair
--autoremove
;;
yum-rpm
)
...
...
bin/epm-check
View file @
b06b0c28
...
...
@@ -37,7 +37,7 @@ case $PMTYPE in
sudocmd apt-get
-f
install
||
return
#sudocmd apt-get autoremove
;;
packagekit
-
*
)
packagekit
)
docmd pkcon repair
;;
aptitude-dpkg
)
...
...
bin/epm-download
View file @
b06b0c28
...
...
@@ -198,8 +198,7 @@ epm_download()
aptcyg
)
sudocmd apt-cyg download
$pkg_filenames
;;
packagekit-
*
)
# TODO: force
packagekit
)
docmd pkcon download
$pkg_filenames
;;
yum-rpm
)
...
...
bin/epm-filelist
View file @
b06b0c28
...
...
@@ -67,7 +67,7 @@ __epm_filelist_remote()
fi
docmd_foreach __deb_local_content_filelist
"
$@
"
;;
packagekit
-
*
)
packagekit
)
docmd pkcon get-files
"
$@
"
;;
yum-rpm
)
...
...
@@ -123,7 +123,7 @@ __epm_filelist_name()
*
-dpkg
)
CMD
=
"dpkg -L"
;;
packagekit
-
*
)
packagekit
)
CMD
=
"pkcon get-files"
;;
android
)
...
...
bin/epm-info
View file @
b06b0c28
...
...
@@ -69,7 +69,7 @@ case $PMTYPE in
apt-rpm
)
docmd apt-cache show
$pkg_names
;;
packagekit
-rpm
)
packagekit
)
docmd pkcon get-details
$pkg_names
;;
yum-rpm
)
...
...
@@ -89,7 +89,7 @@ case $PMTYPE in
;;
esac
;;
packagekit
-
*
)
packagekit
)
# TODO: get-details-local
docmd pkcon get-details
$pkg_names
;;
...
...
bin/epm-install
View file @
b06b0c28
...
...
@@ -129,7 +129,7 @@ epm_install_names()
urpm-rpm
)
sudocmd urpmi
$URPMOPTIONS
$@
return
;;
packagekit
-
*
)
packagekit
)
docmd pkcon
install
$@
return
;;
pkgsrc
)
...
...
@@ -233,7 +233,7 @@ epm_ni_install_names()
# FIXME: returns true ever no package found, need check for "no found", "Nothing to do."
yes
| sudocmd zypper
--non-interactive
$ZYPPEROPTIONS
install
$@
return
;;
packagekit
-
*
)
packagekit
)
docmd pkcon
install
--noninteractive
$@
return
;;
pkgsrc
)
...
...
@@ -406,7 +406,7 @@ epm_install_files()
;;
esac
;;
packagekit
-
*
)
packagekit
)
docmd pkcon install-local
$@
return
;;
pkgsrc
)
...
...
@@ -529,7 +529,7 @@ epm_print_install_names_command()
zypper-rpm
)
echo
"zypper --non-interactive
$ZYPPEROPTIONS
install
$*
"
return
;;
packagekit
-
*
)
packagekit
)
echo
"pkcon --noninteractive
$*
"
return
;;
pacman
)
...
...
bin/epm-packages
View file @
b06b0c28
...
...
@@ -74,7 +74,7 @@ case $PMTYPE in
[
-n
"
$short
"
]
&&
CMD
=
"rpm -qa --queryformat %{name}
\n
$pkg_filenames
"
docmd
$CMD
return
;;
packagekit
-
*
)
packagekit
)
docmd pkcon get-packages
--filter
installed
;;
snappy
)
...
...
bin/epm-policy
View file @
b06b0c28
...
...
@@ -34,7 +34,7 @@ case $PMTYPE in
apt-
*
)
docmd apt-cache policy
$pkg_names
;;
packagekit
-
*
)
packagekit
)
docmd pkcon resolve
$pkg_names
;;
*
)
...
...
bin/epm-reinstall
View file @
b06b0c28
...
...
@@ -33,7 +33,7 @@ epm_reinstall_names()
aptitude-dpkg
)
sudocmd aptitude reinstall
$@
return
;;
packagekit
-
*
)
packagekit
)
warning
"Please send me the correct command form for it"
docmd pkcon
install
--allow-reinstall
$@
return
;;
...
...
bin/epm-release_upgrade
View file @
b06b0c28
...
...
@@ -328,7 +328,7 @@ epm_release_upgrade()
assure_exists
do
-release-upgrade
update-manager-core
sudocmd
do
-release-upgrade
;;
packagekit
-
*
)
packagekit
)
docmd pkcon upgrade-system
$pkg_filenames
;;
yum-rpm
)
...
...
bin/epm-remove
View file @
b06b0c28
...
...
@@ -75,7 +75,7 @@ epm_remove_names()
apt-rpm
)
sudocmd apt-get remove
$APTOPTIONS
$@
return
;;
packagekit
-
*
)
packagekit
)
docmd pkcon remove
$@
return
;;
deepsolver-rpm
)
...
...
@@ -170,7 +170,7 @@ epm_remove_nonint()
apt-rpm
)
sudocmd apt-get
-y
--force-yes
remove
$@
return
;;
packagekit
-
*
)
packagekit
)
docmd pkcon remove
--noninteractive
$@
return
;;
urpm-rpm
)
...
...
bin/epm-repolist
View file @
b06b0c28
...
...
@@ -60,7 +60,7 @@ case $PMTYPE in
zypper-rpm
)
docmd zypper sl
-d
;;
packagekit
-
*
)
packagekit
)
docmd pkcon repo-list
;;
emerge
)
...
...
bin/epm-requires
View file @
b06b0c28
...
...
@@ -62,7 +62,7 @@ case $PMTYPE in
CMD
=
"apt-cache depends"
fi
;;
packagekit
-
*
)
packagekit
)
CMD
=
"pkcon required-by"
;;
#zypper-rpm)
...
...
bin/epm-search
View file @
b06b0c28
...
...
@@ -34,7 +34,7 @@ case $PMTYPE in
deepsolver-rpm
)
CMD
=
"ds-require --"
;;
packagekit
-
*
)
packagekit
)
CMD
=
"pkcon search name"
;;
urpm-rpm
)
...
...
bin/epm-search_file
View file @
b06b0c28
...
...
@@ -61,7 +61,7 @@ case $PMTYPE in
sudocmd apt-file update
docmd apt-file search
$pkg_filenames
return
;;
packagekit
-
*
)
packagekit
)
CMD
=
"pkcon search file"
;;
yum-rpm
)
...
...
bin/epm-update
View file @
b06b0c28
...
...
@@ -38,7 +38,7 @@ case $PMTYPE in
#sudocmd apt-get -f install || exit
#sudocmd apt-get autoremove
;;
packagekit
-
*
)
packagekit
)
docmd pkcon refresh
;;
#snappy)
...
...
bin/epm-upgrade
View file @
b06b0c28
...
...
@@ -41,7 +41,7 @@ epm_upgrade()
local
installlist
=
"
$(
get_task_packages
$pkg_names
)
"
[
-n
"
$verbose
"
]
&&
info
"Packages from task(s):
$installlist
"
# install only installed packages (simulate upgrade packages)
installlist
=
"
$(
estrlist exclude
"
$(
echo
"
$installlist
"
|
(
skip_installed
=
'yes'
filter_out_installed_packages
)
)"
"
$installlist
"
)
"
installlist
=
"
$(
estrlist exclude
"
$(
echo
"
$installlist
"
|
(
skip_installed
=
'yes'
filter_out_installed_packages
)
)"
"
$installlist
"
)
"
#"
[
-n
"
$verbose
"
]
&&
info
"Packages to upgrade:
$installlist
"
(
pkg_names
=
"
$installlist
"
epm_Install
)
epm_removerepo
...
...
@@ -60,7 +60,7 @@ epm_upgrade()
aptitude-dpkg
)
CMD
=
"aptitude dist-upgrade"
;;
packagekit
-
*
)
packagekit
)
docmd pkcon update
return
;;
...
...
bin/epm-whatdepends
View file @
b06b0c28
...
...
@@ -44,7 +44,7 @@ case $PMTYPE in
aptitude-dpkg
)
CMD
=
"aptitude why"
;;
packagekit
-
*
)
packagekit
)
CMD
=
"pkcon depends-on"
;;
yum-rpm
)
...
...
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