File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -709,10 +709,12 @@ REPEAT_CURRENT_VER=$(dpkg --list | grep repeater-start | awk '{print $3}')
709709REPEAT_LATEST=$( curl -s https://sourceforge.net/projects/repeater-start/files/ | grep all.deb | head -1 | sed ' s/.*repeater/repeater/;s/".*//' )
710710REPEAT_LATEST_VER=$( echo $REPEAT_LATEST | sed ' s/repeater-start_//;s/_.*//' )
711711
712- if (( $(echo "${REPEAT_LATEST_VER} ${REPEAT_CURRENT_VER} " | awk '{print ($1 > $2 )}')) ); then
712+ if [ -z " $REPEAT_CURRENT_VER " ]; then
713+ echo " REPEAT=Not_Installed" >> $UPDATEFILE
714+ elif (( $(echo "${REPEAT_LATEST_VER} ${REPEAT_CURRENT_VER} " | awk '{print ($1 > $2 )}')) ); then
713715 echo " REPEAT=NEEDS-UPDATE" >> $UPDATEFILE
714716 else
715717 echo " REPEAT=is_latest_version" >> $UPDATEFILE
716718 fi
717719
718- CHECK
720+ CHECK
You can’t perform that action at this time.
0 commit comments