Commit 2157ba2d authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm reposave: add apm support

parent 822b3733
...@@ -81,7 +81,7 @@ end_change_alt_repo() ...@@ -81,7 +81,7 @@ end_change_alt_repo()
epm_reposave() epm_reposave()
{ {
case $PMTYPE in case $PMTYPE in
apt-*) apt-*|apm-*)
if ! is_root ; then if ! is_root ; then
sudoepm repo save sudoepm repo save
return return
...@@ -98,7 +98,7 @@ esac ...@@ -98,7 +98,7 @@ esac
epm_reporestore() epm_reporestore()
{ {
case $PMTYPE in case $PMTYPE in
apt-*) apt-*|apm-*)
if ! is_root ; then if ! is_root ; then
sudoepm repo restore sudoepm repo restore
return return
...@@ -136,7 +136,7 @@ esac ...@@ -136,7 +136,7 @@ esac
epm_repostatus() epm_repostatus()
{ {
case $PMTYPE in case $PMTYPE in
apt-*) apt-*|apm-*)
load_helper epm-check_updated_repo load_helper epm-check_updated_repo
if [ -n "$short" ] ; then if [ -n "$short" ] ; then
local days local days
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment