feat: split flatpak update units into user and system (#72)

This commit is contained in:
Jorge O. Castro
2023-02-22 20:18:38 -05:00
committed by GitHub
parent 901b9aa5e9
commit 99c15be6f0
6 changed files with 40 additions and 6 deletions

View File

@@ -125,8 +125,18 @@ if [ "$?" != 0 ] ; then
--text="Installing Celluloid Failed"
exit 1
fi
echo "95"
echo "Enabling Flatpak auto update"
/usr/bin/systemctl --user enable --now flatpak-user-update.timer
if [ "$?" != 0 ] ; then
zenity --error \
--text="Setting Flatpak Autoupdate Failed"
exit 1
fi
echo "100"
echo "# Reticulating Final Splines"
mkdir -p "$HOME"/.config/ublue/
touch "$HOME"/.config/ublue/firstboot-done
@@ -139,4 +149,4 @@ cp -n /etc/justfile "$HOME"/.justfile
if [ "$?" != 0 ] ; then
zenity --error \
--text="Firstboot Configuration Error"
fi
fi