Skip to content

Commit

Permalink
force re-run the script to trigger an ossec alert
Browse files Browse the repository at this point in the history
  • Loading branch information
heartsucker committed Feb 12, 2019
1 parent 4da235c commit cf14d40
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions install_files/securedrop-config/DEBIAN/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ update_release_available_script() {
sed -i "s|Run 'do-release-upgrade' to upgrade to it\\.|Visit https://securedrop.org/xenial-upgrade for more information|" "$file"
fi
done

# remove the file in case it's empty
rm -f /var/lib/ubuntu-release-upgrader/release-upgrade-available
# force re-run the update script to trigger an OSSEC alert
/usr/lib/ubuntu-release-upgrader/check-new-release -q > /var/lib/ubuntu-release-upgrader/release-upgrade-available &
}

revert_update_release_available_script() {
Expand Down

0 comments on commit cf14d40

Please sign in to comment.