Skip to content

Commit

Permalink
Use the 'state_up_to_date' function to initialize the state file if i…
Browse files Browse the repository at this point in the history
…t does not exists (#159)

instead of doing it manually
  • Loading branch information
Antiz96 authored May 14, 2024
1 parent d821daa commit 5294951
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script/arch-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ case "${option}" in
;;
--tray)
if [ ! -f "${statedir}/current_state" ]; then
echo "${name}" > "${statedir}/current_state"
state_up_to_date
fi

arch-update-tray || exit 3
Expand Down

0 comments on commit 5294951

Please sign in to comment.