mirror of
https://github.com/AAAAAEXQOSyIpN2JZ0ehUQ/SSHPLUS-MANAGER-FREE.git
synced 2024-11-27 06:09:04 +00:00
10 lines
394 B
Bash
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
|
|
}
|