fix: Attempt to remove cached flatpak data regardless of whether install list exists

Even if /etc/flatpak/install stays the same, these files will change. Thus remove them
regardless of whether the install list exists or not
This commit is contained in:
RJ Trujillo 2023-08-01 08:33:08 -06:00
parent 58da79e755
commit e6adf70539

View File

@ -6,5 +6,5 @@ if [[ -f '/etc/flatpak/install' ]]; then
cat /etc/flatpak/install | while read line; do
flatpak install --system --noninteractive --no-pull flathub $line
done && mv /etc/flatpak/install /etc/flatpak/installed
rm -rf /etc/flatpak/{flathub,objects}
fi
rm -rf /etc/flatpak/{flathub,objects}