1
0
mirror of https://github.com/AAAAAEXQOSyIpN2JZ0ehUQ/SSHPLUS-MANAGER-FREE.git synced 2024-11-27 06:09:04 +00:00
SSHPLUS-MANAGER-FREE/Modulos/verifatt
AAAAAEXQOSyIpN2JZ0ehUQ 7c768d44a0 Update Script
2022-11-28 22:31:30 -03:00

10 lines
394 B
Bash

#!/bin/bash
clear
[[ -e /home/versao ]] && rm /home/versao
wget -P /home https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/SSHPLUS-MANAGER-FREE/master/Install/versao > /dev/null 2>&1
[[ -f "/home/versao" ]] && {
vrs1=$(sed -n '1 p' /bin/versao| sed -e 's/[^0-9]//ig')
vrs2=$(sed -n '1 p' /home/versao | sed -e 's/[^0-9]//ig')
[[ "$vrs1" != "$vrs2" ]] && mv /home/versao /tmp/att
}