fix(deck): Skip the first update in gaming mode on new installs

This commit is contained in:
Kyle Gospodnetich 2024-04-12 14:11:54 -07:00
parent e18ebd7f49
commit 5eede45788

View File

@ -26,7 +26,10 @@ done
if command -v ublue-update > /dev/null; then
if [ -n "${CHECK}" ]; then
if [ ! -f '/etc/gamemode-update-check' ]; then
touch /etc/gamemode-update-check
exit 7 # Skip the first update to simplify new installs.
elif [ -n "${CHECK}" ]; then
if [ -f '/tmp/upgrade-installed' ]; then
exit 7 # Upgrade already installed
else