Explorar o código

add package manager for gentoo distro

TeF %!s(int64=4) %!d(string=hai) anos
pai
achega
1ccae79eed
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      install-release.sh

+ 4 - 0
install-release.sh

@@ -206,6 +206,10 @@ identify_the_operating_system_and_architecture() {
       PACKAGE_MANAGEMENT_INSTALL='pacman -Syu --noconfirm'
       PACKAGE_MANAGEMENT_REMOVE='pacman -Rsn'
       package_provide_tput='ncurses'
+     elif [[ "$(type -P emerge)" ]]; then
+      PACKAGE_MANAGEMENT_INSTALL='emerge -v'
+      PACKAGE_MANAGEMENT_REMOVE='emerge -Cv'
+      package_provide_tput='ncurses'
     else
       echo "error: The script does not support the package manager in this operating system."
       exit 1