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-square17fedilinkarrow-up162arrow-down10cross-posted to: [email protected][email protected]
arrow-up162arrow-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-square17fedilinkcross-posted to: [email protected][email protected]
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