d3Xt3r@beehaw.org to Free and Open Source Software@beehaw.orgEnglish · 1 year agoFlatsweep Cleans Leftover Data from Uninstalled Flatpaks - OMG! Linuxwww.omglinux.comexternal-linkmessage-square14fedilinkarrow-up161arrow-down10
arrow-up161arrow-down1external-linkFlatsweep Cleans Leftover Data from Uninstalled Flatpaks - OMG! Linuxwww.omglinux.comd3Xt3r@beehaw.org to Free and Open Source Software@beehaw.orgEnglish · 1 year agomessage-square14fedilink
minus-squarebrie@beehaw.orglinkfedilinkarrow-up1·1 year agoThe check for if a package is installed can be simplified using flatpak info. $ flatpak info com.example.Nonexistent &>/dev/null; echo $? 1 $ flatpak info org.mozilla.firefox &>/dev/null; echo $? 0
The check for if a package is installed can be simplified using
flatpak info
.$ flatpak info com.example.Nonexistent &>/dev/null; echo $? 1 $ flatpak info org.mozilla.firefox &>/dev/null; echo $? 0