Update
This commit is contained in:
parent
717368416b
commit
70b7b86292
@ -87,11 +87,12 @@ On_IWhite='\033[0;107m' # White
|
||||
|
||||
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} Git with a cup of tea"
|
||||
echo
|
||||
|
||||
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}"
|
||||
wget -N https://dl.gitea.io/gitea/$VERSION/gitea-$VERSION-$ARCH -P $DIR/bin/
|
||||
|
||||
|
||||
echo -e "\n${UGreen}Creating symlinks...${Color_Off}"
|
||||
ln -sfv $DIR/bin/gitea-$VERSION-$ARCH $DIR/gitea
|
||||
|
||||
|
||||
echo -e "\n${UGreen}Fixing permissions...${Color_Off}"
|
||||
chmod -v +x $DIR/bin/gitea-$VERSION-$ARCH
|
||||
|
||||
@ -122,5 +123,6 @@ else
|
||||
fi
|
||||
|
||||
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"
|
||||
|
Loading…
Reference in New Issue
Block a user