Version listing
This commit is contained in:
		@ -95,12 +95,17 @@ 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
 | 
			
		||||
echo -e "DIR=$DIR \nARCH=$ARCH"
 | 
			
		||||
 | 
			
		||||
echo -e "\n${UGreen}Latest versions of gitea:${Color_Off}\n"
 | 
			
		||||
curl -s https://dl.gitea.io/gitea/ | grep '<a href=\"\.\/' | cut -d"/" -f2 | tail -n 5
 | 
			
		||||
 | 
			
		||||
if [ -f $DIR/bin/gitea-$VERSION-$ARCH ]; then
 | 
			
		||||
 | 
			
		||||
    echo -e "\n${Ugreen}Latest version ${VERSION} is already downloaded! ${Color_Off}\n"
 | 
			
		||||
    echo -e "\n${UGreen}Version ${VERSION} is already downloaded! ${Color_Off}\n"
 | 
			
		||||
 | 
			
		||||
else
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user