Commit e4023e53 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rename chocolatey -> choco

parent 966238e4
......@@ -177,7 +177,7 @@ case $DISTRIB_ID in
Windows)
is_command winget && echo "winget" && return
is_command appget && CMD="appget"
is_command chocolatey && CMD="chocolatey"
is_command choco && CMD="choco"
is_command npackdcl && CMD="npackd"
;;
MacOS)
......
......@@ -232,8 +232,8 @@ epm_ni_install_names()
# npackdcl update --package=<package> (remove old and install new)
sudocmd npackdcl add --package="$*"
return ;;
chocolatey)
docmd chocolatey install $@
choco)
docmd choco install $@
return ;;
opkg)
sudocmd opkg -force-defaults install $@
......@@ -659,8 +659,8 @@ epm_print_install_names_command()
pacman)
echo "pacman -S --noconfirm $*"
return ;;
chocolatey)
echo "chocolatey install $*"
choco)
echo "choco install $*"
return ;;
nix)
echo "nix-env --install $*"
......
......@@ -96,8 +96,8 @@ case $PMTYPE in
eopkg)
CMD="eopkg list-available"
;;
chocolatey)
CMD="chocolatey search ."
choco)
CMD="choco search ."
;;
slackpkg)
CMD="slackpkg search ."
......
......@@ -127,8 +127,8 @@ case $PMTYPE in
eopkg)
CMD="eopkg list-installed"
;;
chocolatey)
CMD="chocolatey list"
choco)
CMD="choco list"
;;
slackpkg)
CMD="ls -1 /var/log/packages/"
......
......@@ -158,8 +158,8 @@ epm_remove_names()
termux-pkg)
sudocmd pkg uninstall $@
return ;;
chocolatey)
sudocmd chocolatey uninstall $@
choco)
sudocmd choco uninstall $@
return ;;
slackpkg)
sudocmd /usr/sbin/slackpkg remove $@
......
......@@ -84,8 +84,8 @@ case $PMTYPE in
docmd npackdcl search --query="$string" --status=all
return
;;
chocolatey)
CMD="chocolatey list"
choco)
CMD="choco list"
;;
slackpkg)
# FIXME
......
......@@ -140,8 +140,8 @@ epm_upgrade()
apk)
CMD="apk upgrade"
;;
chocolatey)
CMD="chocolatey update all"
choco)
CMD="choco update all"
;;
homebrew)
#CMD="brew upgrade"
......
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