forked from CastroFidel/PortWINE
change -eq to = in all test
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user