This commit is contained in:
Deni 2018-06-29 14:08:19 +02:00
parent 717368416b
commit 70b7b86292

View File

@ -87,11 +87,12 @@ On_IWhite='\033[0;107m' # White
echo echo
echo -e "${Green} _ _ ${Color_Off}"
echo -e "${Green} __ _(_) |_ ___ __ _ ${Color_Off}" echo -e "${Green} __ _(_) |_ ___ __ _ ${Color_Off}"
echo -e "${Green} / _\` | | __/ _ \/ _\` |${Color_Off}" echo -e "${Green} / _\` | | __/ _ \/ _\` |${Color_Off}"
echo -e "${Green} | (_| | | || __/ (_| |${Color_Off}" echo -e "${Green} | (_| | | || __/ (_| |${Color_Off}"
echo -e "${Green} \__, |_|\__\___|\__,_|${Color_Off}" echo -e "${Green} \__, |_|\__\___|\__,_|${Color_Off}"
echo -e "${Green} |___/ ${Color_Off}" echo -e "${Green} |___/${Color_Off} Git with a cup of tea"
echo echo
echo -e "${UGreen}Update of gitea to ${VERSION} is in progress... ${Color_Off}" echo -e "${UGreen}Update of gitea to ${VERSION} is in progress... ${Color_Off}"
@ -107,10 +108,10 @@ else
echo -e "${UGreen}Downloading the newest version...${Color_Off}" echo -e "${UGreen}Downloading the newest version...${Color_Off}"
wget -N https://dl.gitea.io/gitea/$VERSION/gitea-$VERSION-$ARCH -P $DIR/bin/ wget -N https://dl.gitea.io/gitea/$VERSION/gitea-$VERSION-$ARCH -P $DIR/bin/
echo -e "\n${UGreen}Creating symlinks...${Color_Off}" echo -e "\n${UGreen}Creating symlinks...${Color_Off}"
ln -sfv $DIR/bin/gitea-$VERSION-$ARCH $DIR/gitea ln -sfv $DIR/bin/gitea-$VERSION-$ARCH $DIR/gitea
echo -e "\n${UGreen}Fixing permissions...${Color_Off}" echo -e "\n${UGreen}Fixing permissions...${Color_Off}"
chmod -v +x $DIR/bin/gitea-$VERSION-$ARCH chmod -v +x $DIR/bin/gitea-$VERSION-$ARCH
@ -122,5 +123,6 @@ else
fi fi
echo -e "\n${UGreen}Gitea service status:${Color_Off}\n" echo -e "\n${UGreen}Gitea service status:${Color_Off}\n"
service gitea status | head -n 8 service gitea status # | head -n 8
echo -e "\n${UGreen}Have a nice day :)${Color_Off}\n"