change -eq to = in all test

This commit is contained in:
Castro-Fidel
2020-06-05 07:40:02 +03:00
parent 1dc085cfde
commit ad1a28a47e
3 changed files with 10 additions and 10 deletions

View File

@ -11,7 +11,7 @@ then
echo "1" > "${config_path}/update_notifier"
fi
read "update_not" < "${config_path}/update_notifier"
if [ "${update_not}" -eq "1" ]
if [ "${update_not}" = "1" ]
then
wget -T 2 --output-document="${config_path}/${portname}_cur_ver" "http://portwine-linux.ru/current_version/${portname}_ver"
sleep 1
@ -56,7 +56,7 @@ else
TRUE "${port_time4}" \
FALSE "${port_time5}" \
FALSE "${port_time6}" `
if [ $? -eq 1 ]
if [ $? = 1 ]
then
echo "1" > "${HOME}/.config/.PortTime"
else