File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -e
33
4- # Colores
54RED=' \033[0;31m'
65GREEN=' \033[0;32m'
76YELLOW=' \033[1;33m'
@@ -22,7 +21,7 @@ ARCH=$(uname -m)
2221case $ARCH in
2322 x86_64) ARCH=" x86_64" ; ARCH_NAME=" x86_64 (64-bit)" ;;
2423 aarch64) ARCH=" arm64" ; ARCH_NAME=" ARM64" ;;
25- * ) echo -e " ${RED} Arquitectura no soportada : $ARCH ${NC} " ; exit 1 ;;
24+ * ) echo -e " ${RED} Architecture not supported : $ARCH ${NC} " ; exit 1 ;;
2625esac
2726
2827if [[ " $( uname) " == " Darwin" ]]; then
@@ -99,7 +98,7 @@ if [[ "$PKG_TYPE" == "deb" || "$PKG_TYPE" == "rpm" ]]; then
9998 echo -e " ${YELLOW} Removing previous version...${NC} "
10099 sudo rpm --erase grhooks || true
101100 fi
102-
101+
103102 if [[ " $PKG_TYPE " == " deb" ]]; then
104103 sudo dpkg -i " $TEMP_DIR /grhooks.deb" || sudo apt-get install -f -y
105104 INSTALL_DIR=$( which grhooks || echo " /usr/bin/grhooks" )
You can’t perform that action at this time.
0 commit comments