Commit eba15413 authored by Vitaly Lipatov's avatar Vitaly Lipatov

add initial aura support

parent 32811eb4
...@@ -26,6 +26,9 @@ case $PMTYPE in ...@@ -26,6 +26,9 @@ case $PMTYPE in
apt-dpkg) apt-dpkg)
sudocmd apt-get autoremove sudocmd apt-get autoremove
;; ;;
aura)
sudocmd aura -Oj
;;
#yum-rpm) #yum-rpm)
# sudocmd yum clean all # sudocmd yum clean all
# ;; # ;;
......
...@@ -59,6 +59,10 @@ case $PMTYPE in ...@@ -59,6 +59,10 @@ case $PMTYPE in
is_installed $pkg_names && docmd pacman -Qi $pkg_names && return is_installed $pkg_names && docmd pacman -Qi $pkg_names && return
docmd pacman -Si $pkg_names docmd pacman -Si $pkg_names
;; ;;
aura)
is_installed $pkg_names && docmd pacman -Qi $pkg_names && return
docmd aura -Ai $pkg_names
;;
npackd) npackd)
# FIXME: --version= # FIXME: --version=
docmd npackdcl info --package=$pkg_names docmd npackdcl info --package=$pkg_names
......
...@@ -70,6 +70,9 @@ epm_install_names() ...@@ -70,6 +70,9 @@ epm_install_names()
pacman) pacman)
sudocmd pacman -S $force $nodeps $@ sudocmd pacman -S $force $nodeps $@
return ;; return ;;
aura)
sudocmd aura -A $force $nodeps $@
return ;;
yum-rpm) yum-rpm)
sudocmd yum $YUMOPTIONS install $@ sudocmd yum $YUMOPTIONS install $@
return ;; return ;;
...@@ -127,6 +130,9 @@ epm_ni_install_names() ...@@ -127,6 +130,9 @@ epm_ni_install_names()
pacman) pacman)
sudocmd pacman -S --noconfirm $force $nodeps $@ sudocmd pacman -S --noconfirm $force $nodeps $@
return ;; return ;;
aura)
sudocmd aura -A $force $nodeps $@
return ;;
npackd) npackd)
# npackdcl update --package=<package> (remove old and install new) # npackdcl update --package=<package> (remove old and install new)
docmd npackdcl add --package=$@ docmd npackdcl add --package=$@
......
...@@ -40,6 +40,9 @@ case $PMTYPE in ...@@ -40,6 +40,9 @@ case $PMTYPE in
pacman) pacman)
CMD="pacman -Ss" CMD="pacman -Ss"
;; ;;
aura)
CMD="aura -As"
;;
yum-rpm) yum-rpm)
CMD="yum search" CMD="yum search"
;; ;;
......
...@@ -42,6 +42,9 @@ case $PMTYPE in ...@@ -42,6 +42,9 @@ case $PMTYPE in
pacman) pacman)
sudocmd pacman -S -y sudocmd pacman -S -y
;; ;;
aura)
sudocmd aura -A -y
;;
zypper-rpm) zypper-rpm)
sudocmd zypper refresh sudocmd zypper refresh
;; ;;
......
...@@ -43,6 +43,9 @@ epm_upgrade() ...@@ -43,6 +43,9 @@ epm_upgrade()
pacman) pacman)
CMD="pacman -S -u" CMD="pacman -S -u"
;; ;;
aura)
CMD="aura -A -u"
;;
emerge) emerge)
CMD="emerge -NuDa world" CMD="emerge -NuDa world"
;; ;;
......
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