Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

Commit

Permalink
Fix bug that caused alerts to be shown on installations performed aft…
Browse files Browse the repository at this point in the history
…er the dates they were issued.
  • Loading branch information
lots0logs committed Nov 19, 2017
1 parent aa553b0 commit 533a6f3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/antergos-alerts.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ def do_alerts() -> None:
for alert_id in alerts_ids:
alert_slug = ALERTS[alert_id]

if DOING_INSTALL:
COMPLETED_ALERT_IDS.append(alert_id)
continue

if 'i686' in alert_slug and not IS_32BIT:
COMPLETED_ALERT_IDS.append(alert_id)
continue
Expand All @@ -147,9 +151,6 @@ def do_alerts() -> None:


if __name__ == '__main__':
if DOING_INSTALL:
sys.exit(0)

setup_gettext()
do_alerts()

Expand Down

0 comments on commit 533a6f3

Please sign in to comment.